edu.cmu.sei.aadl.model.property
Interface EnumType

All Superinterfaces:
AObject, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, NamedElement, org.eclipse.emf.common.notify.Notifier, PropertyConstantType, PropertyType
All Known Implementing Classes:
EnumTypeImpl

public interface EnumType
extends PropertyConstantType

A representation of the model object 'Enum Type'.

The following features are supported:

See Also:
PropertyPackage.getEnumType()

Field Summary
static java.lang.String copyright
           
 
Fields inherited from interface edu.cmu.sei.aadl.model.property.PropertyType
VALUE_OKAY
 
Method Summary
 void addEnumLiteral(EnumLiteral value)
          Adds to the list the value of the 'Enum Literal' containment reference list
 EnumLiteral findEnumLiteral(java.lang.String litName)
          find enumeration literal with given name
 java.util.Comparator getComparator()
          Get a comparator for comparing elements of the enumeration.
 org.eclipse.emf.common.util.EList getEnumLiteral()
          Returns the value of the 'Enum Literal' containment reference list.
 
Methods inherited from interface edu.cmu.sei.aadl.model.property.PropertyType
acceptsValuesOfType, containsValue, getPropertySet, getQualifiedName
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.NamedElement
getName, setName
 
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

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getEnumLiteral

org.eclipse.emf.common.util.EList getEnumLiteral()
Returns the value of the 'Enum Literal' containment reference list. The list contents are of type EnumLiteral.

If the meaning of the 'Enum Literal' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Enum Literal' containment reference list.
See Also:
PropertyPackage.getEnumType_EnumLiteral()

addEnumLiteral

void addEnumLiteral(EnumLiteral value)
Adds to the list the value of the 'Enum Literal' containment reference list.

Parameters:
value - the value to add to 'Enum Literal' containment reference list.

findEnumLiteral

EnumLiteral findEnumLiteral(java.lang.String litName)
find enumeration literal with given name

Parameters:
litName -
Returns:
EnumLiteral the literal or null if not found

getComparator

java.util.Comparator getComparator()
Get a comparator for comparing elements of the enumeration. This comparator is only good for comparing EnumLiterals that are contained in this enumeration type. That is, EnumLiterals a and b can be compared only if this.getEnumLiteral.contains(a) && this.getEnumLiteral.contains(b).