public abstract class ComponentTypeImpl extends ComponentClassifierImpl implements ComponentType
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
copyright
Modifier and Type | Method and Description |
---|---|
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) |
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<Mode> |
getAllModes()
Returns all the mode objects of a given type, including
ancestor.
|
org.eclipse.emf.common.util.EList<ModeTransition> |
getAllModeTransitions()
Returns all the mode transition objects of a given type,
including ancestor.
|
org.eclipse.emf.common.util.EList<Prototype> |
getAllPrototypes()
Returns all the prototype objects of a given type, including
ancestor.
|
org.eclipse.emf.common.util.EList<ClassifierFeature> |
getClassifierFeatures() |
ComponentType |
getExtended() |
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? A
component type descends from another component type if they are the same
type, it extends the other type, or it extends a descendant of the other
type.
|
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() |
createOwnedMode, createOwnedModeTransition, getOwnedModes, getOwnedModeTransitions, isNoFlows, isNoModes, setNoFlows, setNoModes
acceptsProperty, allFeatures, allParents, checkAppliesToClassifier, conformsTo, createOwnedAnnexSubclause, createOwnedAnnexSubclause, createOwnedPrototype, createOwnedPrototypeBinding, getAllAnnexSubclauses, getAllExtendPlusSelf, getAllPropertyAssociations, getInheritedMembers, getMembers, getMembersGen, getOwnedAnnexSubclauses, getOwnedElements, getOwnedPrototypeBindings, getOwnedPrototypes, hasVisibilityOf, inherit, inheritableMembers, inheritedMember, isNoAnnexes, isNoProperties, isNoPrototypes, isSetMembers, isSetOwnedElements, lookupPrototypeBinding, maySpecializeType, no_cycles_in_generalization, parents, setNoAnnexes, setNoProperties, setNoPrototypes, specialize_type
findNamedElement, getNamesOfMember, members_distinguishable, membersAreDistinguishable
allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getNonModalPropertyValue, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueList, getPropertyValues, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwner, has_owner, mustBeOwned, not_own_self
getAdapter, getLocationReference, setLocationReference, setLocationReference
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
createOwnedMode, createOwnedModeTransition, getCategory, getOwnedModes, getOwnedModeTransitions, isNoFlows, isNoModes, setNoFlows, setNoModes
allFeatures, allParents, checkAppliesToClassifier, createOwnedAnnexSubclause, createOwnedAnnexSubclause, createOwnedPrototype, createOwnedPrototypeBinding, getAllAnnexSubclauses, getAllExtendPlusSelf, getAllPropertyAssociations, getInheritedMembers, getOwnedAnnexSubclauses, getOwnedPrototypeBindings, getOwnedPrototypes, hasVisibilityOf, inherit, inheritableMembers, inheritedMember, isNoAnnexes, isNoProperties, isNoPrototypes, lookupPrototypeBinding, maySpecializeType, no_cycles_in_generalization, parents, setNoAnnexes, setNoProperties, setNoPrototypes, specialize_type
findNamedElement, getMembers, getNamesOfMember, members_distinguishable, membersAreDistinguishable
conformsTo
acceptsProperty, allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getNonModalPropertyValue, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueList, getPropertyValues, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, mustBeOwned, not_own_self
getLocationReference, setLocationReference, setLocationReference
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
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()
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 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 org.eclipse.emf.common.util.EList<Mode> getAllModes()
getAllModes
in interface ComponentClassifier
public org.eclipse.emf.common.util.EList<ModeTransition> getAllModeTransitions()
getAllModeTransitions
in interface ComponentClassifier
public org.eclipse.emf.common.util.EList<Prototype> getAllPrototypes()
getAllPrototypes
in interface ComponentClassifier
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.