public class FeatureGroupTypeImpl extends ClassifierImpl implements FeatureGroupType
The following features are implemented:
Owned Feature
Classifier Feature
Owned Member
General
Generalization
Extended
Inverse
Owned Extension
Owned Bus Access
Owned Data Access
Owned Data Port
Owned Event Data Port
Owned Event Port
Owned Feature Group
Owned Parameter
Owned Subprogram Access
Owned Subprogram Group Access
Owned Abstract Feature
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 |
---|---|
FeatureGroupType |
basicGetExtended() |
FeatureGroupType |
basicGetInverse() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetOwnedExtension(GroupExtension newOwnedExtension,
org.eclipse.emf.common.notify.NotificationChain msgs) |
AbstractFeature |
createOwnedAbstractFeature() |
BusAccess |
createOwnedBusAccess() |
DataAccess |
createOwnedDataAccess() |
DataPort |
createOwnedDataPort() |
EventDataPort |
createOwnedEventDataPort() |
EventPort |
createOwnedEventPort() |
GroupExtension |
createOwnedExtension() |
FeatureGroup |
createOwnedFeatureGroup() |
Parameter |
createOwnedParameter() |
SubprogramAccess |
createOwnedSubprogramAccess() |
SubprogramGroupAccess |
createOwnedSubprogramGroupAccess() |
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) |
NamedElement |
findNamedElement(java.lang.String name) |
org.eclipse.emf.common.util.EList<Feature> |
getAllFeatures()
Get a list of Feature objects representing those features in the
feature group type, including those from super types or inverses.
|
org.eclipse.emf.common.util.EList<Prototype> |
getAllPrototypes() |
org.eclipse.emf.common.util.EList<ClassifierFeature> |
getClassifierFeatures() |
FeatureGroupType |
getExtended() |
org.eclipse.emf.common.util.EList<Generalization> |
getGeneralizations() |
org.eclipse.emf.common.util.EList<Classifier> |
getGenerals() |
int |
getIndexOf(Feature feature)
return the index of the feature in the feature group type
|
FeatureGroupType |
getInverse() |
org.eclipse.emf.common.util.EList<AbstractFeature> |
getOwnedAbstractFeatures() |
org.eclipse.emf.common.util.EList<BusAccess> |
getOwnedBusAccesses() |
org.eclipse.emf.common.util.EList<DataAccess> |
getOwnedDataAccesses() |
org.eclipse.emf.common.util.EList<DataPort> |
getOwnedDataPorts() |
org.eclipse.emf.common.util.EList<EventDataPort> |
getOwnedEventDataPorts() |
org.eclipse.emf.common.util.EList<EventPort> |
getOwnedEventPorts() |
GroupExtension |
getOwnedExtension() |
org.eclipse.emf.common.util.EList<FeatureGroup> |
getOwnedFeatureGroups() |
org.eclipse.emf.common.util.EList<Feature> |
getOwnedFeatures() |
org.eclipse.emf.common.util.EList<NamedElement> |
getOwnedMembers() |
org.eclipse.emf.common.util.EList<Parameter> |
getOwnedParameters() |
org.eclipse.emf.common.util.EList<SubprogramAccess> |
getOwnedSubprogramAccesses() |
org.eclipse.emf.common.util.EList<SubprogramGroupAccess> |
getOwnedSubprogramGroupAccesses() |
void |
getPropertyValueInternal(Property pn,
PropertyAcc paa,
boolean fromInstanceSlaveCall)
Helper routine for computing the value of the property.
|
boolean |
isDescendentOf(Classifier c)
Does this feature group type descend from the given classifier? A
feature group type descends from another feature group type if they are the same
type, it extends the other type, or it extends a descendant of the other
type.
|
boolean |
isInverseOf(FeatureGroupType pgt)
returns true of this feature group type is the inverse of the feature group type pgt
|
boolean |
isSetClassifierFeatures() |
boolean |
isSetGeneralizations() |
boolean |
isSetGenerals() |
boolean |
isSetOwnedFeatures() |
boolean |
isSetOwnedMembers() |
void |
setExtended(FeatureGroupType newExtended) |
void |
setInverse(FeatureGroupType newInverse) |
void |
setOwnedExtension(GroupExtension newOwnedExtension) |
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, toString
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
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
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<ClassifierFeature> getClassifierFeatures()
getClassifierFeatures
in interface Classifier
getClassifierFeatures
in class ClassifierImpl
Aadl2Package.getClassifier_ClassifierFeature()
,
ClassifierFeature.getFeaturingClassifiers()
public org.eclipse.emf.common.util.EList<NamedElement> getOwnedMembers()
getOwnedMembers
in interface Namespace
getOwnedMembers
in class ClassifierImpl
Aadl2Package.getNamespace_OwnedMember()
public org.eclipse.emf.common.util.EList<Feature> getOwnedFeatures()
getOwnedFeatures
in interface FeatureGroupType
Aadl2Package.getFeatureGroupType_OwnedFeature()
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 FeatureGroupType getExtended()
getExtended
in interface Classifier
getExtended
in interface FeatureGroupType
FeatureGroupType.setExtended(FeatureGroupType)
,
Aadl2Package.getFeatureGroupType_Extended()
public FeatureGroupType basicGetExtended()
public void setExtended(FeatureGroupType newExtended)
setExtended
in interface FeatureGroupType
newExtended
- the new value of the 'Extended' reference.FeatureGroupType.getExtended()
public FeatureGroupType getInverse()
getInverse
in interface FeatureGroupType
FeatureGroupType.setInverse(FeatureGroupType)
,
Aadl2Package.getFeatureGroupType_Inverse()
public FeatureGroupType basicGetInverse()
public void setInverse(FeatureGroupType newInverse)
setInverse
in interface FeatureGroupType
newInverse
- the new value of the 'Inverse' reference.FeatureGroupType.getInverse()
public GroupExtension getOwnedExtension()
getOwnedExtension
in interface FeatureGroupType
FeatureGroupType.setOwnedExtension(GroupExtension)
,
Aadl2Package.getFeatureGroupType_OwnedExtension()
public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedExtension(GroupExtension newOwnedExtension, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOwnedExtension(GroupExtension newOwnedExtension)
setOwnedExtension
in interface FeatureGroupType
newOwnedExtension
- the new value of the 'Owned Extension' containment reference.FeatureGroupType.getOwnedExtension()
public GroupExtension createOwnedExtension()
createOwnedExtension
in interface FeatureGroupType
GroupExtension
.FeatureGroupType.getOwnedExtension()
public org.eclipse.emf.common.util.EList<BusAccess> getOwnedBusAccesses()
getOwnedBusAccesses
in interface FeatureGroupType
Aadl2Package.getFeatureGroupType_OwnedBusAccess()
public BusAccess createOwnedBusAccess()
createOwnedBusAccess
in interface FeatureGroupType
BusAccess
.FeatureGroupType.getOwnedBusAccesses()
public org.eclipse.emf.common.util.EList<DataAccess> getOwnedDataAccesses()
getOwnedDataAccesses
in interface FeatureGroupType
Aadl2Package.getFeatureGroupType_OwnedDataAccess()
public DataAccess createOwnedDataAccess()
createOwnedDataAccess
in interface FeatureGroupType
DataAccess
.FeatureGroupType.getOwnedDataAccesses()
public org.eclipse.emf.common.util.EList<DataPort> getOwnedDataPorts()
getOwnedDataPorts
in interface FeatureGroupType
Aadl2Package.getFeatureGroupType_OwnedDataPort()
public DataPort createOwnedDataPort()
createOwnedDataPort
in interface FeatureGroupType
DataPort
.FeatureGroupType.getOwnedDataPorts()
public org.eclipse.emf.common.util.EList<EventDataPort> getOwnedEventDataPorts()
getOwnedEventDataPorts
in interface FeatureGroupType
Aadl2Package.getFeatureGroupType_OwnedEventDataPort()
public EventDataPort createOwnedEventDataPort()
createOwnedEventDataPort
in interface FeatureGroupType
EventDataPort
.FeatureGroupType.getOwnedEventDataPorts()
public org.eclipse.emf.common.util.EList<EventPort> getOwnedEventPorts()
getOwnedEventPorts
in interface FeatureGroupType
Aadl2Package.getFeatureGroupType_OwnedEventPort()
public EventPort createOwnedEventPort()
createOwnedEventPort
in interface FeatureGroupType
EventPort
.FeatureGroupType.getOwnedEventPorts()
public org.eclipse.emf.common.util.EList<FeatureGroup> getOwnedFeatureGroups()
getOwnedFeatureGroups
in interface FeatureGroupType
Aadl2Package.getFeatureGroupType_OwnedFeatureGroup()
public FeatureGroup createOwnedFeatureGroup()
createOwnedFeatureGroup
in interface FeatureGroupType
FeatureGroup
.FeatureGroupType.getOwnedFeatureGroups()
public org.eclipse.emf.common.util.EList<Parameter> getOwnedParameters()
getOwnedParameters
in interface FeatureGroupType
Aadl2Package.getFeatureGroupType_OwnedParameter()
public Parameter createOwnedParameter()
createOwnedParameter
in interface FeatureGroupType
Parameter
.FeatureGroupType.getOwnedParameters()
public org.eclipse.emf.common.util.EList<SubprogramAccess> getOwnedSubprogramAccesses()
getOwnedSubprogramAccesses
in interface FeatureGroupType
Aadl2Package.getFeatureGroupType_OwnedSubprogramAccess()
public SubprogramAccess createOwnedSubprogramAccess()
createOwnedSubprogramAccess
in interface FeatureGroupType
SubprogramAccess
.FeatureGroupType.getOwnedSubprogramAccesses()
public org.eclipse.emf.common.util.EList<SubprogramGroupAccess> getOwnedSubprogramGroupAccesses()
getOwnedSubprogramGroupAccesses
in interface FeatureGroupType
Aadl2Package.getFeatureGroupType_OwnedSubprogramGroupAccess()
public SubprogramGroupAccess createOwnedSubprogramGroupAccess()
createOwnedSubprogramGroupAccess
in interface FeatureGroupType
SubprogramGroupAccess
.FeatureGroupType.getOwnedSubprogramGroupAccesses()
public org.eclipse.emf.common.util.EList<AbstractFeature> getOwnedAbstractFeatures()
getOwnedAbstractFeatures
in interface FeatureGroupType
Aadl2Package.getFeatureGroupType_OwnedAbstractFeature()
public AbstractFeature createOwnedAbstractFeature()
createOwnedAbstractFeature
in interface FeatureGroupType
AbstractFeature
.FeatureGroupType.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 ClassifierImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class ClassifierImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class ClassifierImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class ClassifierImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class ClassifierImpl
public boolean isSetOwnedFeatures()
public boolean isSetClassifierFeatures()
isSetClassifierFeatures
in class ClassifierImpl
public boolean isSetOwnedMembers()
isSetOwnedMembers
in class ClassifierImpl
public boolean isSetGenerals()
isSetGenerals
in class ClassifierImpl
public boolean isSetGeneralizations()
isSetGeneralizations
in class ClassifierImpl
public NamedElement findNamedElement(java.lang.String name)
findNamedElement
in interface Namespace
findNamedElement
in class NamespaceImpl
public boolean isInverseOf(FeatureGroupType pgt)
isInverseOf
in interface FeatureGroupType
pgt
- FeatureGroupType the feature group type to compare topublic int getIndexOf(Feature feature)
getIndexOf
in interface FeatureGroupType
feature
- Featurepublic org.eclipse.emf.common.util.EList<Feature> getAllFeatures()
getAllFeatures
in interface Classifier
public org.eclipse.emf.common.util.EList<Prototype> getAllPrototypes()
getAllPrototypes
in interface FeatureGroupType
public final boolean isDescendentOf(Classifier c)
isDescendentOf
in interface Classifier
public final void getPropertyValueInternal(Property pn, 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
pn
- 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.