|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnumValue
A representation of the model object 'Enum Value'.
The following features are supported:
PropertyPackage.getEnumValue()
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
int |
compare(EnumValue other)
Compare two enumeration values. |
EnumLiteral |
getEnumLiteral()
Returns the value of the 'Enum Literal' reference |
ParsedPropertyReference |
getParsedEnumLiteralReference()
returns parsed Enum literal reference object |
void |
setEnumLiteral(EnumLiteral value)
Sets the value of the ' Enum Literal ' reference |
void |
setEnumLiteralName(java.lang.String name)
sets the parsed enum literalname |
void |
setParsedEnumLiteral(java.lang.String pr,
java.lang.String file,
int line)
sets parsed name of Enumliteral |
void |
setParsedEnumLiteralReference(ParsedPropertyReference pr)
sets parsed names for Enum literal reference |
Methods inherited from interface edu.cmu.sei.aadl.model.property.PropertyValue |
---|
evaluate, getValueAsString, instantiate, preEvaluate |
Methods inherited from interface edu.cmu.sei.aadl.model.core.AObject |
---|
addComment, getAadlSpec, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, getSecondReferencedObject, getSystemInstance, setLocationReference, setLocationReference |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Field Detail |
---|
static final java.lang.String copyright
Method Detail |
---|
EnumLiteral getEnumLiteral()
If the meaning of the 'Enum Literal' reference isn't clear, there really should be more of a description here...
setEnumLiteral(EnumLiteral)
,
PropertyPackage.getEnumValue_EnumLiteral()
void setEnumLiteral(EnumLiteral value)
Enum Literal
' reference.
value
- the new value of the 'Enum Literal' reference.getEnumLiteral()
void setEnumLiteralName(java.lang.String name)
name
- void setParsedEnumLiteralReference(ParsedPropertyReference pr)
pr
- parsed property reference objectvoid setParsedEnumLiteral(java.lang.String pr, java.lang.String file, int line)
pr
- parsed of Enumliteral as stringParsedPropertyReference getParsedEnumLiteralReference()
int compare(EnumValue other)
other
- The other enumeration value
other
, respectively.
java.lang.ClassCastException
- Thrown if the two values represent literals that are
not from the same enumeration type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |