Interface SEnumeration
- 
- All Superinterfaces:
- SDataType,- SElement,- SNamedElement,- SType
 
 public interface SEnumeration extends SNamedElement, SDataType Enumerations define collections of relatedoptions.
- 
- 
Field Summary- 
Fields inherited from interface org.jetbrains.mps.openapi.language.STypeNOT_A_VALUE
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description SEnumerationLiteralgetDefault()Returns default value of the type.SEnumerationLiteralgetLiteral(String name)Resolves the enumeration literal with matching nameCollection<SEnumerationLiteral>getLiterals()- 
Methods inherited from interface org.jetbrains.mps.openapi.language.SDataTypefromString, toString
 - 
Methods inherited from interface org.jetbrains.mps.openapi.language.SElementgetLanguage, getSourceNode
 - 
Methods inherited from interface org.jetbrains.mps.openapi.language.SNamedElementgetName
 - 
Methods inherited from interface org.jetbrains.mps.openapi.language.STypeisInstanceOf
 
- 
 
- 
- 
- 
Method Detail- 
getLiteral@Nullable SEnumerationLiteral getLiteral(@Nullable String name) Resolves the enumeration literal with matching name
 - 
getDefault@Nullable SEnumerationLiteral getDefault() Description copied from interface:STypeReturns default value of the type.- Specified by:
- getDefaultin interface- SType
 
 - 
getLiterals@NotNull Collection<SEnumerationLiteral> getLiterals() - Returns:
- ordered set of enumeration literals
 
 
- 
 
-