Class AbstractLocation

  • All Implemented Interfaces:
    Serializable, Cloneable
    Direct Known Subclasses:
    BranchPoint, Location

    public abstract class AbstractLocation
    extends Node
    Common "interface" for Location and BranchPoint, to let Edge use either as endpoint. Implemented as class to inherit from Node.
    See Also:
    Serialized Form
    • Constructor Detail

      • AbstractLocation

        public AbstractLocation​(Element prototype)
    • Method Detail

      • getName

        public abstract String getName()
        Constructs a human-friendly name of this location. Basically it is the value of the "name" property, except that it will give a unicode symbol in case it is anonymous.
        Returns:
        the "name" property