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

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

public interface UnitsType
extends PropertyType

A representation of the model object 'Units Type'.

The following features are supported:

See Also:
PropertyPackage.getUnitsType()

Field Summary
static java.lang.String copyright
           
 
Fields inherited from interface edu.cmu.sei.aadl.model.property.PropertyType
VALUE_OKAY
 
Method Summary
 void addUnitLiteral(UnitLiteral value)
          Adds to the list the value of the 'Unit Literal' containment reference list
 UnitLiteral findUnitLiteral(java.lang.String litName)
          find unit literal with given name
 java.util.Comparator getComparator()
          Get a comparator for comparing elements of the enumeration.
 org.eclipse.emf.common.util.EList getUnitLiteral()
          Returns the value of the 'Unit 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

getUnitLiteral

org.eclipse.emf.common.util.EList getUnitLiteral()
Returns the value of the 'Unit Literal' containment reference list. The list contents are of type UnitLiteral.

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

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

addUnitLiteral

void addUnitLiteral(UnitLiteral value)
Adds to the list the value of the 'Unit Literal' containment reference list.

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

findUnitLiteral

UnitLiteral findUnitLiteral(java.lang.String litName)
find unit literal with given name

Parameters:
litName -
Returns:
UnitLiteral 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).