public class ClassObjectImpl extends ObjectImpl implements ClassObject
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
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
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) |
AttributeSlot |
findOrCreateAttributeSlot(java.lang.String feature)
Finds an AttributeSlot contained in this ClassObject with
the specified feature.
|
ContainmentSlot |
findOrCreateContainmentSlot(java.lang.String feature)
Finds a ContainmentSlot contained in this ClassObject with
the specified feature.
|
ReferenceSlot |
findOrCreateReferenceSlot(java.lang.String feature)
Finds a ReferenceSlot contained in this ClassObject with
the specified feature.
|
Slot<?> |
findSlot(java.lang.String feature)
Finds an AttributeSlot contained in this ClassObject with
the specified feature.
|
org.eclipse.emf.ecore.EClass |
getEClass()
Returns the corresponding EClass in the containing
PackageObject's metamodel.
|
PackageObject |
getPackageObject()
Returns the PackageObject that contains this ClassObject.
|
org.eclipse.emf.common.util.EList<Slot<?>> |
getSlots() |
boolean |
hasEClass()
Returns true only if this Slot has a corresponding EClass
in the containing PackageObject's metamodel.
|
boolean |
typeCompatibleWith(org.eclipse.emf.ecore.EClass eClass)
Indicates whether every Slot contained in this ClassObject is
type compatible with some EStructuralFeature contained in eClass
|
getIdentifier, getType, setIdentifier, setType, toString
getCol, getLine, setCol, setLine
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, 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
getIdentifier, getType, setIdentifier, setType
getCol, getLine, setCol, setLine
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public org.eclipse.emf.common.util.EList<Slot<?>> getSlots()
getSlots
in interface ClassObject
HutnPackage.getClassObject_Slots()
,
Slot.getOwner()
public Slot<?> findSlot(java.lang.String feature)
findSlot
in interface ClassObject
public AttributeSlot findOrCreateAttributeSlot(java.lang.String feature)
findOrCreateAttributeSlot
in interface ClassObject
public ReferenceSlot findOrCreateReferenceSlot(java.lang.String feature)
findOrCreateReferenceSlot
in interface ClassObject
public ContainmentSlot findOrCreateContainmentSlot(java.lang.String feature)
findOrCreateContainmentSlot
in interface ClassObject
public PackageObject getPackageObject()
getPackageObject
in interface ClassObject
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class ObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class ObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class ObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class ObjectImpl
public org.eclipse.emf.ecore.EClass getEClass()
getEClass
in interface ClassObject
public boolean hasEClass()
hasEClass
in interface ClassObject
public boolean typeCompatibleWith(org.eclipse.emf.ecore.EClass eClass)
typeCompatibleWith
in interface ClassObject