Package com.anylogic.engine.markup
- java.lang.Object
- com.anylogic.engine.markup.AbstractMarkupSubunit<OWNER>
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Attractor
,Escalator
,QueuePath
,ServiceUnit
public abstract class AbstractMarkupSubunit<OWNER extends MarkupShape> extends Object implements Serializable
- See Also:
- Serialized Form
Constructor | Description |
---|---|
AbstractMarkupSubunit() |
public AbstractMarkupSubunit()
public OWNER getOwner()
public String getName()
If the markup shape is declared as field in an agent class, e.g. if it was drawn
in the graphical editor, returns the name of the field, otherwise returns the
string
This method is designed to be used for debug/development purposes only. It has a very inefficient implementation
#UNKNOWN_NAME
.
For replicated shapes returns the name of the field with the index of the shape
in square brackets.This method is designed to be used for debug/development purposes only. It has a very inefficient implementation
- Returns:
- the name of the corresponding field or
#UNKNOWN_NAME