Interface EnumValue
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,Expression,org.eclipse.emf.common.notify.Notifier,ValueReference
- All Known Implementing Classes:
EnumValueImpl
public interface EnumValue extends ValueReference
A representation of the model object 'Enum Value'.The following features are supported:
- See Also:
PatternLanguagePackage.getEnumValue()- Generated:
- Model:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.ecore.EEnumgetEnumeration()Returns the value of the 'Enumeration' reference.org.eclipse.emf.ecore.EEnumLiteralgetLiteral()Returns the value of the 'Literal' reference.voidsetEnumeration(org.eclipse.emf.ecore.EEnum value)Sets the value of the 'Enumeration' reference.voidsetLiteral(org.eclipse.emf.ecore.EEnumLiteral value)Sets the value of the 'Literal' reference.java.lang.StringtoString()
-
-
-
Method Detail
-
getEnumeration
org.eclipse.emf.ecore.EEnum getEnumeration()
Returns the value of the 'Enumeration' reference.- Returns:
- the value of the 'Enumeration' reference.
- See Also:
setEnumeration(EEnum),PatternLanguagePackage.getEnumValue_Enumeration()- Generated:
- Model:
-
setEnumeration
void setEnumeration(org.eclipse.emf.ecore.EEnum value)
Sets the value of the 'Enumeration' reference.- Parameters:
value- the new value of the 'Enumeration' reference.- See Also:
getEnumeration()- Generated:
-
getLiteral
org.eclipse.emf.ecore.EEnumLiteral getLiteral()
Returns the value of the 'Literal' reference.- Returns:
- the value of the 'Literal' reference.
- See Also:
setLiteral(EEnumLiteral),PatternLanguagePackage.getEnumValue_Literal()- Generated:
- Model:
-
setLiteral
void setLiteral(org.eclipse.emf.ecore.EEnumLiteral value)
Sets the value of the 'Literal' reference.- Parameters:
value- the new value of the 'Literal' reference.- See Also:
getLiteral()- Generated:
-
toString
java.lang.String toString()
- Specified by:
toStringin interfaceExpression- Specified by:
toStringin interfaceValueReference- Overrides:
toStringin classjava.lang.Object- Generated:
- Model:
-
-