|
||||||||||
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
public abstract class ClassifierImpl
An implementation of the model object 'Classifier'.
The following features are implemented:
Classifier Feature
Member
Generalization
Owned Element
General
Owned Member
Inherited Member
Owned Annex Subclause
Owned Prototype
Owned Prototype Binding
No Prototypes
No Annexes
No Properties
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[] |
MEMBER_ESUBSETS
The array of subset feature identifiers for the ' Member ' reference list |
protected static boolean |
NO_ANNEXES_EDEFAULT
The default value of the ' No Annexes ' attribute |
protected static boolean |
NO_PROPERTIES_EDEFAULT
The default value of the ' No Properties ' attribute |
protected static boolean |
NO_PROTOTYPES_EDEFAULT
The default value of the ' No Prototypes ' attribute |
protected boolean |
noAnnexes
The cached value of the ' No Annexes ' attribute |
protected boolean |
noProperties
The cached value of the ' No Properties ' attribute |
protected boolean |
noPrototypes
The cached value of the ' No Prototypes ' attribute |
protected static int[] |
OWNED_ELEMENT_ESUBSETS
The array of subset feature identifiers for the ' Owned Element ' containment reference list |
protected static int[] |
OWNED_MEMBER_ESUBSETS
The array of subset feature identifiers for the ' Owned Member ' containment reference list |
protected org.eclipse.emf.common.util.EList<AnnexSubclause> |
ownedAnnexSubclauses
The cached value of the ' Owned Annex Subclause ' containment reference list |
protected org.eclipse.emf.common.util.EList<PrototypeBinding> |
ownedPrototypeBindings
The cached value of the ' Owned Prototype Binding ' containment reference list |
protected org.eclipse.emf.common.util.EList<Prototype> |
ownedPrototypes
The cached value of the ' Owned Prototype ' containment reference list |
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 |
ClassifierImpl()
|
Method Summary | |
---|---|
boolean |
acceptsProperty(Property property)
Query whether this object accepts values for the given property. |
org.eclipse.emf.common.util.EList<ClassifierFeature> |
allFeatures()
|
org.eclipse.emf.common.util.EList<Classifier> |
allParents()
|
boolean |
checkAppliesToClassifier(Property property)
Check whether the applies to classifiers in a property definition describe this classifier. |
boolean |
conformsTo(Type other)
|
AnnexSubclause |
createOwnedAnnexSubclause()
|
AnnexSubclause |
createOwnedAnnexSubclause(org.eclipse.emf.ecore.EClass eClass)
|
Prototype |
createOwnedPrototype(org.eclipse.emf.ecore.EClass eClass)
|
PrototypeBinding |
createOwnedPrototypeBinding(org.eclipse.emf.ecore.EClass eClass)
|
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<Classifier> |
getAllExtendPlusSelf()
Return a list of classifiers extended by this classifier including itself. |
org.eclipse.emf.common.util.EList<PropertyAssociation> |
getAllPropertyAssociations()
Get all the property associations, including those from any ancestor classifiers. |
org.eclipse.emf.common.util.EList<ClassifierFeature> |
getClassifierFeatures()
|
org.eclipse.emf.common.util.EList<Generalization> |
getGeneralizations()
|
org.eclipse.emf.common.util.EList<Classifier> |
getGenerals()
|
org.eclipse.emf.common.util.EList<NamedElement> |
getInheritedMembers()
Returns the value of the 'Inherited Member' reference list. |
org.eclipse.emf.common.util.EList<NamedElement> |
getMembers()
|
org.eclipse.emf.common.util.EList<NamedElement> |
getMembersGen()
|
org.eclipse.emf.common.util.EList<AnnexSubclause> |
getOwnedAnnexSubclauses()
|
org.eclipse.emf.common.util.EList<Element> |
getOwnedElements()
|
org.eclipse.emf.common.util.EList<NamedElement> |
getOwnedMembers()
|
org.eclipse.emf.common.util.EList<PrototypeBinding> |
getOwnedPrototypeBindings()
|
org.eclipse.emf.common.util.EList<Prototype> |
getOwnedPrototypes()
|
boolean |
hasVisibilityOf(NamedElement n)
|
org.eclipse.emf.common.util.EList<NamedElement> |
inherit(org.eclipse.emf.common.util.EList<NamedElement> inhs)
|
org.eclipse.emf.common.util.EList<NamedElement> |
inheritableMembers(Classifier c)
|
org.eclipse.emf.common.util.EList<NamedElement> |
inheritedMember()
|
boolean |
isNoAnnexes()
|
boolean |
isNoProperties()
|
boolean |
isNoPrototypes()
|
boolean |
isSetClassifierFeatures()
|
boolean |
isSetGeneralizations()
|
boolean |
isSetGenerals()
|
boolean |
isSetMembers()
|
boolean |
isSetOwnedElements()
|
boolean |
isSetOwnedMembers()
|
PrototypeBinding |
lookupPrototypeBinding(Prototype proto)
|
boolean |
maySpecializeType(Classifier c)
|
boolean |
no_cycles_in_generalization(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
org.eclipse.emf.common.util.EList<Classifier> |
parents()
|
void |
setNoAnnexes(boolean newNoAnnexes)
|
void |
setNoProperties(boolean newNoProperties)
|
void |
setNoPrototypes(boolean newNoPrototypes)
|
boolean |
specialize_type(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
java.lang.String |
toString()
|
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.Classifier |
---|
getAllFeatures, getExtended, isDescendentOf |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Namespace |
---|
findNamedElement, getNamesOfMember, members_distinguishable, membersAreDistinguishable |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Element |
---|
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, 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.common.util.EList<AnnexSubclause> ownedAnnexSubclauses
Owned Annex Subclause
' containment reference list.
getOwnedAnnexSubclauses()
protected org.eclipse.emf.common.util.EList<Prototype> ownedPrototypes
Owned Prototype
' containment reference list.
getOwnedPrototypes()
protected org.eclipse.emf.common.util.EList<PrototypeBinding> ownedPrototypeBindings
Owned Prototype Binding
' containment reference list.
getOwnedPrototypeBindings()
protected static final boolean NO_PROTOTYPES_EDEFAULT
No Prototypes
' attribute.
isNoPrototypes()
,
Constant Field Valuesprotected boolean noPrototypes
No Prototypes
' attribute.
isNoPrototypes()
protected static final boolean NO_ANNEXES_EDEFAULT
No Annexes
' attribute.
isNoAnnexes()
,
Constant Field Valuesprotected boolean noAnnexes
No Annexes
' attribute.
isNoAnnexes()
protected static final boolean NO_PROPERTIES_EDEFAULT
No Properties
' attribute.
isNoProperties()
,
Constant Field Valuesprotected boolean noProperties
No Properties
' attribute.
isNoProperties()
protected static final int[] MEMBER_ESUBSETS
Member
' reference list.
getMembers()
protected static final int[] OWNED_ELEMENT_ESUBSETS
Owned Element
' containment reference list.
getOwnedElements()
protected static final int[] OWNED_MEMBER_ESUBSETS
Owned Member
' containment reference list.
getOwnedMembers()
Constructor Detail |
---|
protected ClassifierImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class NamespaceImpl
public org.eclipse.emf.common.util.EList<ClassifierFeature> getClassifierFeatures()
getClassifierFeatures
in interface Classifier
Aadl2Package.getClassifier_ClassifierFeature()
,
ClassifierFeature.getFeaturingClassifiers()
public org.eclipse.emf.common.util.EList<NamedElement> getMembersGen()
public org.eclipse.emf.common.util.EList<NamedElement> getMembers()
NamespaceImpl
getMembers
in interface Namespace
getMembers
in class NamespaceImpl
Aadl2Package.getNamespace_Member()
public org.eclipse.emf.common.util.EList<Element> getOwnedElements()
getOwnedElements
in interface Element
getOwnedElements
in class NamespaceImpl
Aadl2Package.getElement_OwnedElement()
,
Element.getOwner()
public org.eclipse.emf.common.util.EList<NamedElement> getOwnedMembers()
getOwnedMembers
in interface Namespace
getOwnedMembers
in class NamespaceImpl
Aadl2Package.getNamespace_OwnedMember()
,
NamedElement.getNamespace()
public org.eclipse.emf.common.util.EList<NamedElement> getInheritedMembers()
Classifier
NamedElement
.
This feature subsets the following features:
Member
'
getInheritedMembers
in interface Classifier
Aadl2Package.getClassifier_InheritedMember()
public org.eclipse.emf.common.util.EList<Prototype> getOwnedPrototypes()
getOwnedPrototypes
in interface Classifier
Aadl2Package.getClassifier_OwnedPrototype()
public Prototype createOwnedPrototype(org.eclipse.emf.ecore.EClass eClass)
createOwnedPrototype
in interface Classifier
eClass
- The Ecore class of the Prototype
to create.
Prototype
.Classifier.getOwnedPrototypes()
public org.eclipse.emf.common.util.EList<PrototypeBinding> getOwnedPrototypeBindings()
getOwnedPrototypeBindings
in interface Classifier
Aadl2Package.getClassifier_OwnedPrototypeBinding()
public PrototypeBinding createOwnedPrototypeBinding(org.eclipse.emf.ecore.EClass eClass)
createOwnedPrototypeBinding
in interface Classifier
eClass
- The Ecore class of the PrototypeBinding
to create.
PrototypeBinding
.Classifier.getOwnedPrototypeBindings()
public org.eclipse.emf.common.util.EList<Generalization> getGeneralizations()
getGeneralizations
in interface Classifier
Aadl2Package.getClassifier_Generalization()
,
Generalization.getSpecific()
public org.eclipse.emf.common.util.EList<Classifier> getGenerals()
getGenerals
in interface Classifier
Aadl2Package.getClassifier_General()
public org.eclipse.emf.common.util.EList<AnnexSubclause> getOwnedAnnexSubclauses()
getOwnedAnnexSubclauses
in interface Classifier
Aadl2Package.getClassifier_OwnedAnnexSubclause()
public AnnexSubclause createOwnedAnnexSubclause(org.eclipse.emf.ecore.EClass eClass)
createOwnedAnnexSubclause
in interface Classifier
eClass
- The Ecore class of the AnnexSubclause
to create.
AnnexSubclause
.Classifier.getOwnedAnnexSubclauses()
public AnnexSubclause createOwnedAnnexSubclause()
createOwnedAnnexSubclause
in interface Classifier
DefaultAnnexSubclause
.Classifier.getOwnedAnnexSubclauses()
public boolean isNoProperties()
isNoProperties
in interface Classifier
Classifier.setNoProperties(boolean)
,
Aadl2Package.getClassifier_NoProperties()
public void setNoProperties(boolean newNoProperties)
setNoProperties
in interface Classifier
newNoProperties
- the new value of the 'No Properties' attribute.Classifier.isNoProperties()
public boolean isNoPrototypes()
isNoPrototypes
in interface Classifier
Classifier.setNoPrototypes(boolean)
,
Aadl2Package.getClassifier_NoPrototypes()
public void setNoPrototypes(boolean newNoPrototypes)
setNoPrototypes
in interface Classifier
newNoPrototypes
- the new value of the 'No Prototypes' attribute.Classifier.isNoPrototypes()
public boolean isNoAnnexes()
isNoAnnexes
in interface Classifier
Classifier.setNoAnnexes(boolean)
,
Aadl2Package.getClassifier_NoAnnexes()
public void setNoAnnexes(boolean newNoAnnexes)
setNoAnnexes
in interface Classifier
newNoAnnexes
- the new value of the 'No Annexes' attribute.Classifier.isNoAnnexes()
public boolean conformsTo(Type other)
conformsTo
in interface Type
public boolean no_cycles_in_generalization(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
no_cycles_in_generalization
in interface Classifier
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public boolean specialize_type(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
specialize_type
in interface Classifier
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public org.eclipse.emf.common.util.EList<ClassifierFeature> allFeatures()
allFeatures
in interface Classifier
public org.eclipse.emf.common.util.EList<NamedElement> inheritedMember()
inheritedMember
in interface Classifier
public org.eclipse.emf.common.util.EList<Classifier> parents()
parents
in interface Classifier
public org.eclipse.emf.common.util.EList<Classifier> allParents()
allParents
in interface Classifier
public org.eclipse.emf.common.util.EList<NamedElement> inheritableMembers(Classifier c)
inheritableMembers
in interface Classifier
public boolean hasVisibilityOf(NamedElement n)
hasVisibilityOf
in interface Classifier
public org.eclipse.emf.common.util.EList<NamedElement> inherit(org.eclipse.emf.common.util.EList<NamedElement> inhs)
inherit
in interface Classifier
public boolean maySpecializeType(Classifier c)
maySpecializeType
in interface Classifier
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 NamedElementImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class NamespaceImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class NamedElementImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class NamedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class NamespaceImpl
public java.lang.String toString()
toString
in class NamedElementImpl
public boolean isSetClassifierFeatures()
public boolean isSetMembers()
isSetMembers
in class NamespaceImpl
public boolean isSetGeneralizations()
public boolean isSetOwnedElements()
isSetOwnedElements
in class NamespaceImpl
public boolean isSetGenerals()
public boolean isSetOwnedMembers()
isSetOwnedMembers
in class NamespaceImpl
public org.eclipse.emf.common.util.EList<Classifier> getAllExtendPlusSelf()
Classifier
C
extends
classifier B
that extends classifier A
,
then the list will contain classifiers C
, B
, and A
in that order.
Although a well-formed model should not contain loops in the extension hierarchy, they may arise from erroneous editors or through badly formed AAXL files. This method is safe to use even if a cycle exists. In such a case, the returned list will contain all the classifiers up to but not including the cyclic reference. So if the cycle is A extends B extends C extends D extends A, and the method is invoked on classifier C, then the returned list will be [C, D, A, B].
getAllExtendPlusSelf
in interface Classifier
public boolean acceptsProperty(Property property)
NamedElement
acceptsProperty
in interface NamedElement
acceptsProperty
in class NamedElementImpl
property
- The property definition to test.
true
if the given property applies to this element.public boolean checkAppliesToClassifier(Property property)
checkAppliesToClassifier
in interface Classifier
property
- The property definition
public org.eclipse.emf.common.util.EList<PropertyAssociation> getAllPropertyAssociations()
Classifier
getAllPropertyAssociations
in interface Classifier
public PrototypeBinding lookupPrototypeBinding(Prototype proto)
lookupPrototypeBinding
in interface Classifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |