public abstract class ClassifierImpl extends NamespaceImpl implements Classifier
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 |
---|---|
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) |
void |
eUnset(int featureID) |
org.eclipse.emf.common.util.EList<AnnexSubclause> |
getAllAnnexSubclauses() |
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() |
findNamedElement, getNamesOfMember, members_distinguishable, membersAreDistinguishable
allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getNonModalPropertyValue, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueInternal, 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
getAllFeatures, getExtended, isDescendentOf
findNamedElement, getNamesOfMember, members_distinguishable, membersAreDistinguishable
allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getNonModalPropertyValue, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueInternal, 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
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
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()
public org.eclipse.emf.common.util.EList<NamedElement> getOwnedMembers()
getOwnedMembers
in interface Namespace
getOwnedMembers
in class NamespaceImpl
Aadl2Package.getNamespace_OwnedMember()
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 org.eclipse.emf.common.util.EList<AnnexSubclause> getAllAnnexSubclauses()
getAllAnnexSubclauses
in interface Classifier
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 definitionpublic org.eclipse.emf.common.util.EList<PropertyAssociation> getAllPropertyAssociations()
Classifier
getAllPropertyAssociations
in interface Classifier
public PrototypeBinding lookupPrototypeBinding(Prototype proto)
lookupPrototypeBinding
in interface Classifier