Interface SEnumerationLiteral
-
public interface SEnumerationLiteralRepresents an option in an enumeration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SEnumerationgetEnumeration()The owning enumerationStringgetName()The name of the option, must be unique within the enumeration.intgetOrdinal()The ordinal number, position in the owning enumerationStringgetPresentation()The way to present the option to the userdefault SNodeReferencegetSourceNode()Returns reference to the node, which declares this literal.
-
-
-
Method Detail
-
getEnumeration
SEnumeration getEnumeration()
The owning enumeration
-
getPresentation
String getPresentation()
The way to present the option to the user
-
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.
-
-