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

All Superinterfaces:
AObject, Classifier, ComponentClassifier, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, NamedElement, org.eclipse.emf.common.notify.Notifier, PropertyHolder
All Known Subinterfaces:
BusType, DataType, DeviceType, MemoryType, ProcessorType, ProcessType, SubprogramType, SystemType, ThreadGroupType, ThreadType
All Known Implementing Classes:
BusTypeImpl, ComponentTypeImpl, DataTypeImpl, DeviceTypeImpl, MemoryTypeImpl, ProcessorTypeImpl, ProcessTypeImpl, SubprogramTypeImpl, SystemTypeImpl, ThreadGroupTypeImpl, ThreadTypeImpl

public interface ComponentType
extends ComponentClassifier

A representation of the model object 'Component Type'.

The following features are supported:

See Also:
CorePackage.getComponentType()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 void addFeature(Feature f)
          add a feature to a component type It only adds features that are acceptable to the component
 Features createXFeatures()
          create a Features object of the appropriate category
 Feature findFeature(java.lang.String name)
          Find feature by name in type and supertypes.
 FlowSpec findFlowSpec(java.lang.String flowSpecName)
          Find flow specificaton by name in type and its supertypes.
 org.eclipse.emf.common.util.EList getAllFlowSpec()
          get list of all flow specs of a component type, including ancestor features In case of refined flow specs the refined flow spec is returned in the list.
 org.eclipse.emf.common.util.EList getFlowSpec()
          get the list of local flow spec objects of a component type
 FlowSpecs getFlowSpecs()
          Returns the value of the 'Flow Specs' containment reference
 FlowSpecs getFlowSpecs(boolean create)
          retrieve FlowSpecs object.
 org.eclipse.emf.common.util.EList getImplementations()
          returns the component implementations of a given type
 java.lang.String getQualifiedName()
          get qualified component type name.
 org.eclipse.emf.common.util.EList getXAllFeature()
          get list of all features of a component type, including ancestor features In case of refined features the refined feature is returned.
 org.eclipse.emf.common.util.EList getXFeature()
          get the Features list of a componenet type this needs to deal with extensions, i.e., add the ones from the extended type
 Features getXFeatures()
          get the Interface specification of a componenet type
 Features getXFeatures(boolean create)
          get the features of a component type create the object if it does not exist yet.
 void setFlowSpecs(FlowSpecs value)
          Sets the value of the 'Flow Specs' containment reference
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.ComponentClassifier
checkAppliesToClassifier, getCategory, isDescendentOf
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.Classifier
addAnnexSubclause, getAllPropertyAssociation, getAnnexSubclause, getExtendedClassifierReference, getExtendedQualifiedName, getPackageName, getXAllExtend, getXAllExtendPlusSelf, 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

getFlowSpecs

FlowSpecs getFlowSpecs()
Returns the value of the 'Flow Specs' containment reference.

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

Returns:
the value of the 'Flow Specs' containment reference.
See Also:
setFlowSpecs(FlowSpecs), CorePackage.getComponentType_FlowSpecs()

getFlowSpecs

FlowSpecs getFlowSpecs(boolean create)
retrieve FlowSpecs object. Create it if it does not exist and create is true

Parameters:
create - if true create the object if it does not exist
Returns:
FlowSpecs

setFlowSpecs

void setFlowSpecs(FlowSpecs value)
Sets the value of the 'Flow Specs' containment reference.

Parameters:
value - the new value of the 'Flow Specs' containment reference.
See Also:
getFlowSpecs()

getImplementations

org.eclipse.emf.common.util.EList getImplementations()
returns the component implementations of a given type

Returns:
list of component implementations

getQualifiedName

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

Specified by:
getQualifiedName in interface Classifier

getXFeatures

Features getXFeatures()
get the Interface specification of a componenet type

Returns:
Object of subclass of component interface

getXFeatures

Features getXFeatures(boolean create)
get the features of a component type create the object if it does not exist yet.

Parameters:
create - boolean create object if it does not exist
Returns:
Object of subclass of component interface

createXFeatures

Features createXFeatures()
create a Features object of the appropriate category

Returns:
ComponentFeatures

getXFeature

org.eclipse.emf.common.util.EList getXFeature()
get the Features list of a componenet type this needs to deal with extensions, i.e., add the ones from the extended type

Returns:
Object of subclass of component interface

getFlowSpec

org.eclipse.emf.common.util.EList getFlowSpec()
get the list of local flow spec objects of a component type

Returns:
List of Flowspec objects

getXAllFeature

org.eclipse.emf.common.util.EList getXAllFeature()
get list of all features of a component type, including ancestor features In case of refined features the refined feature is returned.

Specified by:
getXAllFeature in interface Classifier
Returns:
List of features

getAllFlowSpec

org.eclipse.emf.common.util.EList getAllFlowSpec()
get list of all flow specs of a component type, including ancestor features In case of refined flow specs the refined flow spec is returned in the list.

Returns:
List of flow specs

findFeature

Feature findFeature(java.lang.String name)
Find feature by name in type and supertypes.

Parameters:
name - the name of the feature
Returns:
the feature object if found, null otherwise

findFlowSpec

FlowSpec findFlowSpec(java.lang.String flowSpecName)
Find flow specificaton by name in type and its supertypes.

Parameters:
flowSpecName - the name of the flow specificaton.
Returns:
the flow spec object if found, null otherwise

addFeature

void addFeature(Feature f)
add a feature to a component type It only adds features that are acceptable to the component

Parameters:
f - Feature