Class Element

    • Constructor Summary

      Constructors 
      Constructor Description
      Element​(java.lang.String name)
      The constructor of an Element.
    • Constructor Detail

      • Element

        public Element​(java.lang.String name)
        The constructor of an Element.
        Parameters:
        name - the name of the created element
    • Method Detail

      • getName

        public final java.lang.String getName()
        This returns the unique name of the object.
        Specified by:
        getName in interface ECPElement
        Returns:
        the name
      • compareTo

        public int compareTo​(ECPElement o)
        Specified by:
        compareTo in interface java.lang.Comparable<ECPElement>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getType

        public abstract java.lang.String getType()
        This return the type of the object.
        Returns:
        the type