edu.cmu.sei.aadl.model.core
Interface Classifier

All Superinterfaces:
AObject, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, NamedElement, org.eclipse.emf.common.notify.Notifier, PropertyHolder
All Known Subinterfaces:
BusClassifier, BusImpl, BusType, ComponentClassifier, ComponentImpl, ComponentType, DataClassifier, DataImpl, DataType, DeviceClassifier, DeviceImpl, DeviceType, MemoryClassifier, MemoryImpl, MemoryType, PortGroupType, ProcessClassifier, ProcessImpl, ProcessorClassifier, ProcessorImpl, ProcessorType, ProcessType, SubprogramClassifier, SubprogramImpl, SubprogramType, SystemClassifier, SystemImpl, SystemType, ThreadClassifier, ThreadGroupClassifier, ThreadGroupImpl, ThreadGroupType, ThreadImpl, ThreadType
All Known Implementing Classes:
BusClassifierImpl, BusImplImpl, BusTypeImpl, ClassifierImpl, ComponentClassifierImpl, ComponentImplImpl, ComponentTypeImpl, DataClassifierImpl, DataImplImpl, DataTypeImpl, DeviceClassifierImpl, DeviceImplImpl, DeviceTypeImpl, MemoryClassifierImpl, MemoryImplImpl, MemoryTypeImpl, PortGroupTypeImpl, ProcessClassifierImpl, ProcessImplImpl, ProcessorClassifierImpl, ProcessorImplImpl, ProcessorTypeImpl, ProcessTypeImpl, SubprogramClassifierImpl, SubprogramImplImpl, SubprogramTypeImpl, SystemClassifierImpl, SystemImplImpl, SystemTypeImpl, ThreadClassifierImpl, ThreadGroupClassifierImpl, ThreadGroupImplImpl, ThreadGroupTypeImpl, ThreadImplImpl, ThreadTypeImpl

public interface Classifier
extends PropertyHolder

A representation of the model object 'Classifier'.

The following features are supported:

See Also:
CorePackage.getClassifier()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 void addAnnexSubclause(AnnexSubclause value)
          Adds to the list the value of the 'Annex Subclause' containment reference list
 org.eclipse.emf.common.util.EList getAllPropertyAssociation()
          Get all the property associations, including those from any ancestor classifiers.
 org.eclipse.emf.common.util.EList getAnnexSubclause()
          Returns the value of the 'Annex Subclause' containment reference list.
 ClassifierReference getExtendedClassifierReference()
          Returns the 'Extended classifier reference' attribute.
 java.lang.String getExtendedQualifiedName()
          get qualified name of classifier being extended.
 java.lang.String getPackageName()
          returns a package name if the component type is contained in a package It retrieves the name from the containing AadlLibrary object
 java.lang.String getQualifiedName()
          get qualified component impl name.
 org.eclipse.emf.common.util.EList getXAllExtend()
          Return all the classifiers extended by this classifier, in order from closest to farthest.
 org.eclipse.emf.common.util.EList getXAllExtendPlusSelf()
          Return a list of classifiers extended by this classifier including itself.
 org.eclipse.emf.common.util.EList getXAllFeature()
          get all features including inherited features
 Classifier getXExtend()
          returns the reference to the classifier being extended
 boolean hasExtends()
          returns true if classifier is an extension of another classifier
 void setExtendedClassifierReference(ClassifierReference cr)
          sets the 'Extended classifier reference' attribute.
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.PropertyHolder
acceptsProperty, addProperty, addPropertyValue, checkPropertyAssociation, findPropertyAssociation, getProperties, getPropertyAssociation, getPropertyValue, getPropertyValueInternal, getPropertyValueList, getSimplePropertyValue, isModalPropertyValue, removeContainedPropertyAssociations, removeContainedPropertyAssociations, removePropertyAssociations, removePropertyAssociations, setContainedPropertyValue, setContainedPropertyValue, setContainedPropertyValue, setContainedPropertyValue, setProperties, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue
 
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

getAnnexSubclause

org.eclipse.emf.common.util.EList getAnnexSubclause()
Returns the value of the 'Annex Subclause' containment reference list. The list contents are of type AnnexSubclause.

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

Returns:
the value of the 'Annex Subclause' containment reference list.
See Also:
CorePackage.getClassifier_AnnexSubclause()

addAnnexSubclause

void addAnnexSubclause(AnnexSubclause value)
Adds to the list the value of the 'Annex Subclause' containment reference list.

Parameters:
value - the value to add to 'Annex Subclause' containment reference list.

getExtendedClassifierReference

ClassifierReference getExtendedClassifierReference()
Returns the 'Extended classifier reference' attribute.


setExtendedClassifierReference

void setExtendedClassifierReference(ClassifierReference cr)
sets the 'Extended classifier reference' attribute.


getQualifiedName

java.lang.String getQualifiedName()
get qualified component impl name. Always a String


hasExtends

boolean hasExtends()
returns true if classifier is an extension of another classifier

Returns:
true if extends is specified by reference or by names

getExtendedQualifiedName

java.lang.String getExtendedQualifiedName()
get qualified name of classifier being extended. Always a String


getXExtend

Classifier getXExtend()
returns the reference to the classifier being extended

Returns:
classifier

getXAllExtend

org.eclipse.emf.common.util.EList getXAllExtend()
Return all the classifiers extended by this classifier, in order from closest to farthest. That is, if classifier C extends classifier B that extends classifier A, then the list will contain classifiers B and A in that order.

Although a well-formed model should not contain loops in the extension heirarchy, they may arise from erroneous editors or through badly formed AAXL files. This method is safe to use even if a cycle exists. In such a case, the returned list will contain all the classifiers up to but not including the cyclic reference. So if the cycle is A extends B extends C extends D extends A, and the method is invoked on classifier C, then the returned list will be [D, A, B].


getXAllExtendPlusSelf

org.eclipse.emf.common.util.EList getXAllExtendPlusSelf()
Return a list of classifiers extended by this classifier including itself. That is, if classifier C extends classifier B that extends classifier A, then the list will contain classifiers C, B, and A in that order.

Although a well-formed model should not contain loops in the extension heirarchy, they may arise from erroneous editors or through badly formed AAXL files. This method is safe to use even if a cycle exists. In such a case, the returned list will contain all the classifiers up to but not including the cyclic reference. So if the cycle is A extends B extends C extends D extends A, and the method is invoked on classifier C, then the returned list will be [C, D, A, B].


getXAllFeature

org.eclipse.emf.common.util.EList getXAllFeature()
get all features including inherited features

Returns:
EList of Features

getAllPropertyAssociation

org.eclipse.emf.common.util.EList getAllPropertyAssociation()
Get all the property associations, including those from any ancestor classifiers.

Returns:
A list of the property associations. Property associations from an ancestor component classifier will appear before those of any descendents.

getPackageName

java.lang.String getPackageName()
returns a package name if the component type is contained in a package It retrieves the name from the containing AadlLibrary object