AnyLogic AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.markup.AbstractMarkupSubunit<OWNER>
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Attractor, Escalator, QueuePath, ServiceUnit

public abstract class AbstractMarkupSubunit<OWNER extends MarkupShape>
extends java.lang.Object
implements java.io.Serializable
See Also:
Serialized Form

Constructor Summary

Constructors 
AbstractMarkupSubunit()  
Constructor Description

Method Summary

All Methods Instance Methods Concrete Methods 
java.lang.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 #UNKNOWN_NAME.
OWNER getOwner()  
Modifier and Type Method Description

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

AbstractMarkupSubunit

public AbstractMarkupSubunit()

Method Detail

getOwner

public OWNER getOwner()

getName

public java.lang.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 #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
How can we improve this article?