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.EEnum
getEnumeration()
Returns the value of the 'Enumeration' reference.org.eclipse.emf.ecore.EEnumLiteral
getLiteral()
Returns the value of the 'Literal' reference.void
setEnumeration(org.eclipse.emf.ecore.EEnum value)
Sets the value of the 'Enumeration
' reference.void
setLiteral(org.eclipse.emf.ecore.EEnumLiteral value)
Sets the value of the 'Literal
' reference.java.lang.String
toString()
-
-
-
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:
toString
in interfaceExpression
- Specified by:
toString
in interfaceValueReference
- Overrides:
toString
in classjava.lang.Object
- Generated:
- Model:
-
-