Interface SEnumerationLiteral
-
public interface SEnumerationLiteral
Represents an option in an enumeration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SEnumeration
getEnumeration()
The owning enumerationString
getName()
The name of the option, must be unique within the enumeration.int
getOrdinal()
The ordinal number, position in the owning enumerationString
getPresentation()
The way to present the option to the userdefault SNodeReference
getSourceNode()
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.
-
-