|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
edu.cmu.sei.aadl.aadl2.parsesupport.AObjectImpl
edu.cmu.sei.aadl.aadl2.impl.ElementImpl
edu.cmu.sei.aadl.aadl2.impl.NamedElementImpl
edu.cmu.sei.aadl.aadl2.impl.NamespaceImpl
edu.cmu.sei.aadl.aadl2.impl.ClassifierImpl
edu.cmu.sei.aadl.aadl2.impl.ComponentClassifierImpl
edu.cmu.sei.aadl.aadl2.impl.ComponentTypeImpl
public abstract class ComponentTypeImpl
An implementation of the model object 'Component Type'.
The following features are implemented:
Owned Feature
Classifier Feature
Owned Member
General
Generalization
Features
Extended
Owned Flow Specification
Owned Extension
Owned Feature Group
Owned Abstract Feature
No Features
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary | |
---|---|
protected static int[] |
CLASSIFIER_FEATURE_ESUBSETS
The array of subset feature identifiers for the ' Classifier Feature ' reference list |
protected org.eclipse.emf.ecore.util.FeatureMap |
features
The cached value of the ' Features ' attribute list |
protected static int[] |
GENERAL_ESUBSETS
The array of subset feature identifiers for the ' General ' reference list |
protected static int[] |
GENERALIZATION_ESUBSETS
The array of subset feature identifiers for the ' Generalization ' containment reference list |
protected static boolean |
NO_FEATURES_EDEFAULT
The default value of the ' No Features ' attribute |
protected boolean |
noFeatures
The cached value of the ' No Features ' attribute |
protected static int[] |
OWNED_FEATURE_ESUBSETS
The array of subset feature identifiers for the ' Owned Feature ' containment reference list |
protected static int[] |
OWNED_MEMBER_ESUBSETS
The array of subset feature identifiers for the ' Owned Member ' containment reference list |
protected TypeExtension |
ownedExtension
The cached value of the ' Owned Extension ' containment reference |
protected org.eclipse.emf.common.util.EList<FlowSpecification> |
ownedFlowSpecifications
The cached value of the ' Owned Flow Specification ' containment reference list |
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.ComponentClassifierImpl |
---|
NO_FLOWS_EDEFAULT, NO_MODES_EDEFAULT, noFlows, noModes, ownedInternalEvents, ownedModes, ownedModeTransitions, ownedProcessorPorts |
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.ClassifierImpl |
---|
MEMBER_ESUBSETS, NO_ANNEXES_EDEFAULT, NO_PROPERTIES_EDEFAULT, NO_PROTOTYPES_EDEFAULT, noAnnexes, noProperties, noPrototypes, OWNED_ELEMENT_ESUBSETS, ownedAnnexSubclauses, ownedPrototypeBindings, ownedPrototypes |
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.NamedElementImpl |
---|
name, NAME_EDEFAULT, ownedPropertyAssociations, QUALIFIED_NAME_EDEFAULT |
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.ElementImpl |
---|
ownedComments |
Fields inherited from class edu.cmu.sei.aadl.aadl2.parsesupport.AObjectImpl |
---|
copyright, locationReference |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject |
---|
copyright |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
ComponentTypeImpl()
|
Method Summary | |
---|---|
ComponentType |
basicGetExtended()
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetOwnedExtension(TypeExtension newOwnedExtension,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
AbstractFeature |
createOwnedAbstractFeature()
|
TypeExtension |
createOwnedExtension()
|
FeatureGroup |
createOwnedFeatureGroup()
|
FlowSpecification |
createOwnedFlowSpecification()
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
org.eclipse.emf.common.util.EList<Feature> |
getAllFeatures()
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<FlowSpecification> |
getAllFlowSpecifications()
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<ClassifierFeature> |
getClassifierFeatures()
|
ComponentType |
getExtended()
|
org.eclipse.emf.ecore.util.FeatureMap |
getFeatures()
|
org.eclipse.emf.common.util.EList<Generalization> |
getGeneralizations()
|
org.eclipse.emf.common.util.EList<Classifier> |
getGenerals()
|
org.eclipse.emf.common.util.EList<AbstractFeature> |
getOwnedAbstractFeatures()
|
TypeExtension |
getOwnedExtension()
|
org.eclipse.emf.common.util.EList<FeatureGroup> |
getOwnedFeatureGroups()
|
org.eclipse.emf.common.util.EList<Feature> |
getOwnedFeatures()
|
org.eclipse.emf.common.util.EList<FlowSpecification> |
getOwnedFlowSpecifications()
|
org.eclipse.emf.common.util.EList<NamedElement> |
getOwnedMembers()
|
void |
getPropertyValueInternal(Property property,
PropertyAcc paa,
boolean fromInstanceSlaveCall)
Helper routine for computing the value of the property. |
boolean |
isDescendentOf(Classifier c)
Does this component type descend from the given classifier? |
boolean |
isNoFeatures()
|
boolean |
isSetClassifierFeatures()
|
boolean |
isSetGeneralizations()
|
boolean |
isSetGenerals()
|
boolean |
isSetOwnedFeatures()
|
boolean |
isSetOwnedMembers()
|
void |
setExtended(ComponentType newExtended)
|
void |
setNoFeatures(boolean newNoFeatures)
|
void |
setOwnedExtension(TypeExtension newOwnedExtension)
|
java.lang.String |
toString()
|
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.ComponentClassifierImpl |
---|
createOwnedInternalEvent, createOwnedMode, createOwnedModeTransition, createOwnedProcessorPort, getOwnedInternalEvents, getOwnedModes, getOwnedModeTransitions, getOwnedProcessorPorts, isNoFlows, isNoModes, setNoFlows, setNoModes |
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.NamespaceImpl |
---|
findNamedElement, getNamesOfMember, members_distinguishable, membersAreDistinguishable |
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.ElementImpl |
---|
allOwnedElements, create, createOwnedComment, getCacheAdapter, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwner, has_owner, isSetOwner, mustBeOwned, not_own_self |
Methods inherited from class edu.cmu.sei.aadl.aadl2.parsesupport.AObjectImpl |
---|
getAdapter, getLocationReference, setLocationReference, setLocationReference |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.ComponentClassifier |
---|
createOwnedInternalEvent, createOwnedMode, createOwnedModeTransition, createOwnedProcessorPort, getCategory, getOwnedInternalEvents, getOwnedModes, getOwnedModeTransitions, getOwnedProcessorPorts, isNoFlows, isNoModes, setNoFlows, setNoModes |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Namespace |
---|
findNamedElement, getMembers, getNamesOfMember, members_distinguishable, membersAreDistinguishable |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Type |
---|
conformsTo |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Element |
---|
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, mustBeOwned, not_own_self |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject |
---|
getLocationReference, 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 |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
---|
protected org.eclipse.emf.ecore.util.FeatureMap features
Features
' attribute list.
getFeatures()
protected org.eclipse.emf.common.util.EList<FlowSpecification> ownedFlowSpecifications
Owned Flow Specification
' containment reference list.
getOwnedFlowSpecifications()
protected TypeExtension ownedExtension
Owned Extension
' containment reference.
getOwnedExtension()
protected static final boolean NO_FEATURES_EDEFAULT
No Features
' attribute.
isNoFeatures()
,
Constant Field Valuesprotected boolean noFeatures
No Features
' attribute.
isNoFeatures()
protected static final int[] OWNED_FEATURE_ESUBSETS
Owned Feature
' containment reference list.
getOwnedFeatures()
protected static final int[] CLASSIFIER_FEATURE_ESUBSETS
Classifier Feature
' reference list.
getClassifierFeatures()
protected static final int[] OWNED_MEMBER_ESUBSETS
Owned Member
' containment reference list.
getOwnedMembers()
protected static final int[] GENERAL_ESUBSETS
General
' reference list.
getGenerals()
protected static final int[] GENERALIZATION_ESUBSETS
Generalization
' containment reference list.
getGeneralizations()
Constructor Detail |
---|
protected ComponentTypeImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class ComponentClassifierImpl
public org.eclipse.emf.common.util.EList<Feature> getOwnedFeatures()
getOwnedFeatures
in interface ComponentType
Aadl2Package.getComponentType_OwnedFeature()
public org.eclipse.emf.common.util.EList<ClassifierFeature> getClassifierFeatures()
getClassifierFeatures
in interface Classifier
getClassifierFeatures
in class ComponentClassifierImpl
Aadl2Package.getClassifier_ClassifierFeature()
,
ClassifierFeature.getFeaturingClassifiers()
public org.eclipse.emf.common.util.EList<NamedElement> getOwnedMembers()
getOwnedMembers
in interface Namespace
getOwnedMembers
in class ComponentClassifierImpl
Aadl2Package.getNamespace_OwnedMember()
,
NamedElement.getNamespace()
public org.eclipse.emf.common.util.EList<Classifier> getGenerals()
getGenerals
in interface Classifier
getGenerals
in class ClassifierImpl
Aadl2Package.getClassifier_General()
public org.eclipse.emf.common.util.EList<Generalization> getGeneralizations()
getGeneralizations
in interface Classifier
getGeneralizations
in class ClassifierImpl
Aadl2Package.getClassifier_Generalization()
,
Generalization.getSpecific()
public org.eclipse.emf.ecore.util.FeatureMap getFeatures()
getFeatures
in interface ComponentType
Aadl2Package.getComponentType_Features()
public boolean isNoFeatures()
isNoFeatures
in interface ComponentType
ComponentType.setNoFeatures(boolean)
,
Aadl2Package.getComponentType_NoFeatures()
public void setNoFeatures(boolean newNoFeatures)
setNoFeatures
in interface ComponentType
newNoFeatures
- the new value of the 'No Features' attribute.ComponentType.isNoFeatures()
public ComponentType getExtended()
getExtended
in interface Classifier
getExtended
in interface ComponentType
ComponentType.setExtended(ComponentType)
,
Aadl2Package.getComponentType_Extended()
public ComponentType basicGetExtended()
public void setExtended(ComponentType newExtended)
setExtended
in interface ComponentType
newExtended
- the new value of the 'Extended' reference.ComponentType.getExtended()
public org.eclipse.emf.common.util.EList<FlowSpecification> getOwnedFlowSpecifications()
getOwnedFlowSpecifications
in interface ComponentType
Aadl2Package.getComponentType_OwnedFlowSpecification()
public FlowSpecification createOwnedFlowSpecification()
createOwnedFlowSpecification
in interface ComponentType
FlowSpecification
.ComponentType.getOwnedFlowSpecifications()
public TypeExtension getOwnedExtension()
getOwnedExtension
in interface ComponentType
ComponentType.setOwnedExtension(TypeExtension)
,
Aadl2Package.getComponentType_OwnedExtension()
public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedExtension(TypeExtension newOwnedExtension, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOwnedExtension(TypeExtension newOwnedExtension)
setOwnedExtension
in interface ComponentType
newOwnedExtension
- the new value of the 'Owned Extension' containment reference.ComponentType.getOwnedExtension()
public TypeExtension createOwnedExtension()
createOwnedExtension
in interface ComponentType
TypeExtension
.ComponentType.getOwnedExtension()
public org.eclipse.emf.common.util.EList<FeatureGroup> getOwnedFeatureGroups()
getOwnedFeatureGroups
in interface ComponentType
Aadl2Package.getComponentType_OwnedFeatureGroup()
public FeatureGroup createOwnedFeatureGroup()
createOwnedFeatureGroup
in interface ComponentType
FeatureGroup
.ComponentType.getOwnedFeatureGroups()
public org.eclipse.emf.common.util.EList<AbstractFeature> getOwnedAbstractFeatures()
getOwnedAbstractFeatures
in interface ComponentType
Aadl2Package.getComponentType_OwnedAbstractFeature()
public AbstractFeature createOwnedAbstractFeature()
createOwnedAbstractFeature
in interface ComponentType
AbstractFeature
.ComponentType.getOwnedAbstractFeatures()
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class ComponentClassifierImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class ComponentClassifierImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class ComponentClassifierImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class ComponentClassifierImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class ComponentClassifierImpl
public java.lang.String toString()
toString
in class ComponentClassifierImpl
public boolean isSetOwnedFeatures()
public boolean isSetClassifierFeatures()
isSetClassifierFeatures
in class ComponentClassifierImpl
public boolean isSetOwnedMembers()
isSetOwnedMembers
in class ComponentClassifierImpl
public boolean isSetGenerals()
isSetGenerals
in class ClassifierImpl
public boolean isSetGeneralizations()
isSetGeneralizations
in class ClassifierImpl
public org.eclipse.emf.common.util.EList<Feature> getAllFeatures()
getAllFeatures
in interface Classifier
public org.eclipse.emf.common.util.EList<FlowSpecification> getAllFlowSpecifications()
getAllFlowSpecifications
in interface ComponentType
public final boolean isDescendentOf(Classifier c)
isDescendentOf
in interface Classifier
public final void getPropertyValueInternal(Property property, PropertyAcc paa, boolean fromInstanceSlaveCall) throws InvalidModelException
NamedElement
NamedElementImpl
, but because of the way that
EMF deals with multiple inheritance, not all implementations of
NamedElement actually extend from NamedElementImpl.
In particular, this method does not create a new property value accumulator—it uses the one provided—and it does not look up the default value of the property.
getPropertyValueInternal
in interface NamedElement
getPropertyValueInternal
in class NamedElementImpl
property
- The property whose value is to be retrieved. It must be
the case that this property is accepted by the property
holder, i.e., NamedElement.acceptsProperty(Property)
must return
true
.fromInstanceSlaveCall
- true
if the call is performing
a lookup on the declarative model on behalf of an instance
model object. When true
the lookup algorithm
ignores the "inherits" attribute on property definitions when
it would mean that the lookup should defer to the containing
component implementation. Also disables the interpretation of
contained property associations in the declarative model
because they have already been applied to the instance model
at this point. The expectation is that the instance model
lookup itself is not ignoring the inherits attribute, and thus
any inherited property values will still be found correctly.
Interpreting the inherits attribute during the declarative
model search is redundant and causes problems later on. This
flag does not affect lookup for feature declarations because
in that case the inherit flag defers to the component type or
feature group type.
InvalidModelException
- Thrown if the property value cannot be
retrieved because the model is incomplete or otherwise
invalid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |