Interface SEnumerationLiteral


  • public interface SEnumerationLiteral
    Represents an option in an enumeration
    • Method Detail

      • getEnumeration

        SEnumeration getEnumeration()
        The owning enumeration
      • getPresentation

        String getPresentation()
        The way to present the option to the user
      • getName

        @Nullable
        String getName()
        The name of the option, must be unique within the enumeration.
      • getOrdinal

        int getOrdinal()
        The ordinal number, position in the owning enumeration
      • getSourceNode

        @Nullable
        default SNodeReference getSourceNode()
        Returns reference to the node, which declares this literal.