edu.cmu.sei.aadl.aadl2.impl
Class ClassifierImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by edu.cmu.sei.aadl.aadl2.parsesupport.AObjectImpl
                  extended by edu.cmu.sei.aadl.aadl2.impl.ElementImpl
                      extended by edu.cmu.sei.aadl.aadl2.impl.NamedElementImpl
                          extended by edu.cmu.sei.aadl.aadl2.impl.NamespaceImpl
                              extended by edu.cmu.sei.aadl.aadl2.impl.ClassifierImpl
All Implemented Interfaces:
Classifier, Element, NamedElement, Namespace, AObject, Type, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject
Direct Known Subclasses:
ComponentClassifierImpl, FeatureGroupTypeImpl

public abstract class ClassifierImpl
extends NamespaceImpl
implements Classifier

An implementation of the model object 'Classifier'.

The following features are implemented:


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.NamedElementImpl
allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, eBasicRemoveFromContainerFeature, getName, getNamespace, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueInternal, getPropertyValueList, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue
 
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.NamedElement
allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueInternal, getPropertyValueList, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue
 
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

ownedAnnexSubclauses

protected org.eclipse.emf.common.util.EList<AnnexSubclause> ownedAnnexSubclauses
The cached value of the 'Owned Annex Subclause' containment reference list.

See Also:
getOwnedAnnexSubclauses()

ownedPrototypes

protected org.eclipse.emf.common.util.EList<Prototype> ownedPrototypes
The cached value of the 'Owned Prototype' containment reference list.

See Also:
getOwnedPrototypes()

ownedPrototypeBindings

protected org.eclipse.emf.common.util.EList<PrototypeBinding> ownedPrototypeBindings
The cached value of the 'Owned Prototype Binding' containment reference list.

See Also:
getOwnedPrototypeBindings()

NO_PROTOTYPES_EDEFAULT

protected static final boolean NO_PROTOTYPES_EDEFAULT
The default value of the 'No Prototypes' attribute.

See Also:
isNoPrototypes(), Constant Field Values

noPrototypes

protected boolean noPrototypes
The cached value of the 'No Prototypes' attribute.

See Also:
isNoPrototypes()

NO_ANNEXES_EDEFAULT

protected static final boolean NO_ANNEXES_EDEFAULT
The default value of the 'No Annexes' attribute.

See Also:
isNoAnnexes(), Constant Field Values

noAnnexes

protected boolean noAnnexes
The cached value of the 'No Annexes' attribute.

See Also:
isNoAnnexes()

NO_PROPERTIES_EDEFAULT

protected static final boolean NO_PROPERTIES_EDEFAULT
The default value of the 'No Properties' attribute.

See Also:
isNoProperties(), Constant Field Values

noProperties

protected boolean noProperties
The cached value of the 'No Properties' attribute.

See Also:
isNoProperties()

MEMBER_ESUBSETS

protected static final int[] MEMBER_ESUBSETS
The array of subset feature identifiers for the 'Member' reference list.

See Also:
getMembers()

OWNED_ELEMENT_ESUBSETS

protected static final int[] OWNED_ELEMENT_ESUBSETS
The array of subset feature identifiers for the 'Owned Element' containment reference list.

See Also:
getOwnedElements()

OWNED_MEMBER_ESUBSETS

protected static final int[] OWNED_MEMBER_ESUBSETS
The array of subset feature identifiers for the 'Owned Member' containment reference list.

See Also:
getOwnedMembers()
Constructor Detail

ClassifierImpl

protected ClassifierImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class NamespaceImpl

getClassifierFeatures

public org.eclipse.emf.common.util.EList<ClassifierFeature> getClassifierFeatures()

Specified by:
getClassifierFeatures in interface Classifier
Returns:
the value of the 'Classifier Feature' reference list.
See Also:
Aadl2Package.getClassifier_ClassifierFeature(), ClassifierFeature.getFeaturingClassifiers()

getMembersGen

public org.eclipse.emf.common.util.EList<NamedElement> getMembersGen()


getMembers

public org.eclipse.emf.common.util.EList<NamedElement> getMembers()
Description copied from class: NamespaceImpl

Specified by:
getMembers in interface Namespace
Overrides:
getMembers in class NamespaceImpl
Returns:
the value of the 'Member' reference list.
See Also:
Aadl2Package.getNamespace_Member()

getOwnedElements

public org.eclipse.emf.common.util.EList<Element> getOwnedElements()

Specified by:
getOwnedElements in interface Element
Overrides:
getOwnedElements in class NamespaceImpl
Returns:
the value of the 'Owned Element' containment reference list.
See Also:
Aadl2Package.getElement_OwnedElement(), Element.getOwner()

getOwnedMembers

public org.eclipse.emf.common.util.EList<NamedElement> getOwnedMembers()

Specified by:
getOwnedMembers in interface Namespace
Overrides:
getOwnedMembers in class NamespaceImpl
Returns:
the value of the 'Owned Member' containment reference list.
See Also:
Aadl2Package.getNamespace_OwnedMember(), NamedElement.getNamespace()

getInheritedMembers

public org.eclipse.emf.common.util.EList<NamedElement> getInheritedMembers()
Description copied from interface: Classifier
Returns the value of the 'Inherited Member' reference list. The list contents are of type NamedElement.

This feature subsets the following features:

Specifies all elements inherited by this classifier from the general classifiers.

Specified by:
getInheritedMembers in interface Classifier
Returns:
the value of the 'Inherited Member' reference list.
See Also:
Aadl2Package.getClassifier_InheritedMember()

getOwnedPrototypes

public org.eclipse.emf.common.util.EList<Prototype> getOwnedPrototypes()

Specified by:
getOwnedPrototypes in interface Classifier
Returns:
the value of the 'Owned Prototype' containment reference list.
See Also:
Aadl2Package.getClassifier_OwnedPrototype()

createOwnedPrototype

public Prototype createOwnedPrototype(org.eclipse.emf.ecore.EClass eClass)

Specified by:
createOwnedPrototype in interface Classifier
Parameters:
eClass - The Ecore class of the Prototype to create.
Returns:
The new Prototype.
See Also:
Classifier.getOwnedPrototypes()

getOwnedPrototypeBindings

public org.eclipse.emf.common.util.EList<PrototypeBinding> getOwnedPrototypeBindings()

Specified by:
getOwnedPrototypeBindings in interface Classifier
Returns:
the value of the 'Owned Prototype Binding' containment reference list.
See Also:
Aadl2Package.getClassifier_OwnedPrototypeBinding()

createOwnedPrototypeBinding

public PrototypeBinding createOwnedPrototypeBinding(org.eclipse.emf.ecore.EClass eClass)

Specified by:
createOwnedPrototypeBinding in interface Classifier
Parameters:
eClass - The Ecore class of the PrototypeBinding to create.
Returns:
The new PrototypeBinding.
See Also:
Classifier.getOwnedPrototypeBindings()

getGeneralizations

public org.eclipse.emf.common.util.EList<Generalization> getGeneralizations()

Specified by:
getGeneralizations in interface Classifier
Returns:
the value of the 'Generalization' containment reference list.
See Also:
Aadl2Package.getClassifier_Generalization(), Generalization.getSpecific()

getGenerals

public org.eclipse.emf.common.util.EList<Classifier> getGenerals()

Specified by:
getGenerals in interface Classifier
Returns:
the value of the 'General' reference list.
See Also:
Aadl2Package.getClassifier_General()

getOwnedAnnexSubclauses

public org.eclipse.emf.common.util.EList<AnnexSubclause> getOwnedAnnexSubclauses()

Specified by:
getOwnedAnnexSubclauses in interface Classifier
Returns:
the value of the 'Owned Annex Subclause' containment reference list.
See Also:
Aadl2Package.getClassifier_OwnedAnnexSubclause()

createOwnedAnnexSubclause

public AnnexSubclause createOwnedAnnexSubclause(org.eclipse.emf.ecore.EClass eClass)

Specified by:
createOwnedAnnexSubclause in interface Classifier
Parameters:
eClass - The Ecore class of the AnnexSubclause to create.
Returns:
The new AnnexSubclause.
See Also:
Classifier.getOwnedAnnexSubclauses()

createOwnedAnnexSubclause

public AnnexSubclause createOwnedAnnexSubclause()

Specified by:
createOwnedAnnexSubclause in interface Classifier
Returns:
The new DefaultAnnexSubclause.
See Also:
Classifier.getOwnedAnnexSubclauses()

isNoProperties

public boolean isNoProperties()

Specified by:
isNoProperties in interface Classifier
Returns:
the value of the 'No Properties' attribute.
See Also:
Classifier.setNoProperties(boolean), Aadl2Package.getClassifier_NoProperties()

setNoProperties

public void setNoProperties(boolean newNoProperties)

Specified by:
setNoProperties in interface Classifier
Parameters:
newNoProperties - the new value of the 'No Properties' attribute.
See Also:
Classifier.isNoProperties()

isNoPrototypes

public boolean isNoPrototypes()

Specified by:
isNoPrototypes in interface Classifier
Returns:
the value of the 'No Prototypes' attribute.
See Also:
Classifier.setNoPrototypes(boolean), Aadl2Package.getClassifier_NoPrototypes()

setNoPrototypes

public void setNoPrototypes(boolean newNoPrototypes)

Specified by:
setNoPrototypes in interface Classifier
Parameters:
newNoPrototypes - the new value of the 'No Prototypes' attribute.
See Also:
Classifier.isNoPrototypes()

isNoAnnexes

public boolean isNoAnnexes()

Specified by:
isNoAnnexes in interface Classifier
Returns:
the value of the 'No Annexes' attribute.
See Also:
Classifier.setNoAnnexes(boolean), Aadl2Package.getClassifier_NoAnnexes()

setNoAnnexes

public void setNoAnnexes(boolean newNoAnnexes)

Specified by:
setNoAnnexes in interface Classifier
Parameters:
newNoAnnexes - the new value of the 'No Annexes' attribute.
See Also:
Classifier.isNoAnnexes()

conformsTo

public boolean conformsTo(Type other)

Specified by:
conformsTo in interface Type

no_cycles_in_generalization

public boolean no_cycles_in_generalization(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           java.util.Map<java.lang.Object,java.lang.Object> context)

Specified by:
no_cycles_in_generalization in interface Classifier
Parameters:
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.

specialize_type

public boolean specialize_type(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                               java.util.Map<java.lang.Object,java.lang.Object> context)

Specified by:
specialize_type in interface Classifier
Parameters:
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.

allFeatures

public org.eclipse.emf.common.util.EList<ClassifierFeature> allFeatures()

Specified by:
allFeatures in interface Classifier

inheritedMember

public org.eclipse.emf.common.util.EList<NamedElement> inheritedMember()

Specified by:
inheritedMember in interface Classifier

parents

public org.eclipse.emf.common.util.EList<Classifier> parents()

Specified by:
parents in interface Classifier

allParents

public org.eclipse.emf.common.util.EList<Classifier> allParents()

Specified by:
allParents in interface Classifier

inheritableMembers

public org.eclipse.emf.common.util.EList<NamedElement> inheritableMembers(Classifier c)

Specified by:
inheritableMembers in interface Classifier

hasVisibilityOf

public boolean hasVisibilityOf(NamedElement n)

Specified by:
hasVisibilityOf in interface Classifier

inherit

public org.eclipse.emf.common.util.EList<NamedElement> inherit(org.eclipse.emf.common.util.EList<NamedElement> inhs)

Specified by:
inherit in interface Classifier

maySpecializeType

public boolean maySpecializeType(Classifier c)

Specified by:
maySpecializeType in interface Classifier

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class NamedElementImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class NamespaceImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class NamedElementImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class NamedElementImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class NamespaceImpl

toString

public java.lang.String toString()

Overrides:
toString in class NamedElementImpl

isSetClassifierFeatures

public boolean isSetClassifierFeatures()


isSetMembers

public boolean isSetMembers()

Overrides:
isSetMembers in class NamespaceImpl

isSetGeneralizations

public boolean isSetGeneralizations()


isSetOwnedElements

public boolean isSetOwnedElements()

Overrides:
isSetOwnedElements in class NamespaceImpl

isSetGenerals

public boolean isSetGenerals()


isSetOwnedMembers

public boolean isSetOwnedMembers()

Overrides:
isSetOwnedMembers in class NamespaceImpl

getAllExtendPlusSelf

public org.eclipse.emf.common.util.EList<Classifier> getAllExtendPlusSelf()
Description copied from interface: Classifier
Return a list of classifiers extended by this classifier including itself. That is, if 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].

Specified by:
getAllExtendPlusSelf in interface Classifier

acceptsProperty

public boolean acceptsProperty(Property property)
Description copied from interface: NamedElement
Query whether this object accepts values for the given property. That is, does the given property apply to this element?

Specified by:
acceptsProperty in interface NamedElement
Overrides:
acceptsProperty in class NamedElementImpl
Parameters:
property - The property definition to test.
Returns:
true if the given property applies to this element.

checkAppliesToClassifier

public boolean checkAppliesToClassifier(Property property)
Check whether the applies to classifiers in a property definition describe this classifier.

Specified by:
checkAppliesToClassifier in interface Classifier
Parameters:
property - The property definition
Returns:
Whether this classifier is a descendant of one of the classifiers named in the property definition.

getAllPropertyAssociations

public org.eclipse.emf.common.util.EList<PropertyAssociation> getAllPropertyAssociations()
Description copied from interface: Classifier
Get all the property associations, including those from any ancestor classifiers.

Specified by:
getAllPropertyAssociations in interface Classifier
Returns:
A list of the property associations. Property associations from an ancestor component classifier will appear before those of any descendents.

lookupPrototypeBinding

public PrototypeBinding lookupPrototypeBinding(Prototype proto)
Specified by:
lookupPrototypeBinding in interface Classifier