public class EObjectLocationImpl extends LocationImpl implements EObjectLocation
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
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 | Field and Description |
---|---|
protected org.eclipse.emf.ecore.EStructuralFeature |
feature |
protected java.lang.String |
featureId |
protected org.eclipse.emf.ecore.EObject |
object |
protected java.lang.String |
objectMatchingId |
id, index, type
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
EObjectLocationImpl() |
|
EObjectLocationImpl(org.eclipse.emf.ecore.EObject object,
java.lang.String objectMatchingId,
org.eclipse.emf.ecore.EStructuralFeature feature,
int index,
java.lang.String idSegment) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
equalsIgnoreIndex(java.lang.Object obj) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
org.eclipse.emf.ecore.EStructuralFeature |
getFeature()
Returns the feature in the object if there is one.
|
java.lang.String |
getFeatureId()
Returns a unique ID for this location's feature.
|
org.eclipse.emf.ecore.EObject |
getObject()
Returns the container of the location.
|
java.lang.String |
getObjectMatchingId()
Returns the matching ID of the object of the location if there is one.
|
int |
hashCode() |
void |
setObject(org.eclipse.emf.ecore.EObject object)
Sets the eObject.
|
getId, getIndex, getType, print, toString
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getIndex, getType
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected org.eclipse.emf.ecore.EStructuralFeature feature
protected org.eclipse.emf.ecore.EObject object
protected java.lang.String objectMatchingId
protected java.lang.String featureId
protected EObjectLocationImpl()
public EObjectLocationImpl(org.eclipse.emf.ecore.EObject object, java.lang.String objectMatchingId, org.eclipse.emf.ecore.EStructuralFeature feature, int index, java.lang.String idSegment)
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class LocationImpl
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean equalsIgnoreIndex(java.lang.Object obj)
public int hashCode()
hashCode
in class java.lang.Object
public org.eclipse.emf.ecore.EStructuralFeature getFeature()
Location
getFeature
in interface Location
public java.lang.String getFeatureId()
Location
getFeatureId
in interface Location
getFeatureId
in class LocationImpl
public org.eclipse.emf.ecore.EObject getObject()
Location
getObject
in interface Location
getObject
in class LocationImpl
public java.lang.String getObjectMatchingId()
Location
getObjectMatchingId
in interface Location
getObjectMatchingId
in class LocationImpl
public void setObject(org.eclipse.emf.ecore.EObject object)
Location
setObject
in interface Location
setObject
in class LocationImpl
object
- an eObject