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

All Superinterfaces:
AObject, Classifier, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, NamedElement, org.eclipse.emf.common.notify.Notifier, PropertyHolder
All Known Subinterfaces:
BusClassifier, BusImpl, BusType, ComponentImpl, ComponentType, DataClassifier, DataImpl, DataType, DeviceClassifier, DeviceImpl, DeviceType, MemoryClassifier, MemoryImpl, MemoryType, 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, ComponentClassifierImpl, ComponentImplImpl, ComponentTypeImpl, DataClassifierImpl, DataImplImpl, DataTypeImpl, DeviceClassifierImpl, DeviceImplImpl, DeviceTypeImpl, MemoryClassifierImpl, MemoryImplImpl, MemoryTypeImpl, ProcessClassifierImpl, ProcessImplImpl, ProcessorClassifierImpl, ProcessorImplImpl, ProcessorTypeImpl, ProcessTypeImpl, SubprogramClassifierImpl, SubprogramImplImpl, SubprogramTypeImpl, SystemClassifierImpl, SystemImplImpl, SystemTypeImpl, ThreadClassifierImpl, ThreadGroupClassifierImpl, ThreadGroupImplImpl, ThreadGroupTypeImpl, ThreadImplImpl, ThreadTypeImpl

public interface ComponentClassifier
extends Classifier

A representation of the model object 'Component Classifier'.

See Also:
CorePackage.getComponentClassifier()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 boolean checkAppliesToClassifier(PropertyDefinition property)
          Check whether the applies to classifiers in a property definition describe this component classifier.
 ComponentCategory getCategory()
          returns the ComponentCategory literal for the given classifier
 boolean isDescendentOf(ComponentClassifier cc)
          Does this component classifier descend from the given classifier?
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.Classifier
addAnnexSubclause, getAllPropertyAssociation, getAnnexSubclause, getExtendedClassifierReference, getExtendedQualifiedName, getPackageName, getQualifiedName, getXAllExtend, getXAllExtendPlusSelf, getXAllFeature, getXExtend, hasExtends, setExtendedClassifierReference
 
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

isDescendentOf

boolean isDescendentOf(ComponentClassifier cc)
Does this component classifier descend from the given classifier? A component type descends from another component type if they are the same type, it extends the other type, or it extends a descendent of the other type. A component type never descends from a component implementation or a port group type. A component implementation descends from another component implementation if they are the same implementation, it extends the other implementation, or it extends a descendent of the other implementation. A component implementation descends from a component type if the implementation's component type descends from the type. A component implementation never descends from a port group type. A port group type descends from another port group type if they are the same, it extends the other port group type, or it extends a descendent of the other port group type. A port group type never descends from another component type or implementation.

Returns:
Whether this classifier descends from the given classifier.

checkAppliesToClassifier

boolean checkAppliesToClassifier(PropertyDefinition property)
Check whether the applies to classifiers in a property definition describe this component classifier.

Parameters:
property - The property definition
Returns:
Whether this component classifier is a descendent of one of component classifiers named in the property definition.

getCategory

ComponentCategory getCategory()
returns the ComponentCategory literal for the given classifier

Returns:
ComponentCategory