public class ResourceLocationImpl extends LocationImpl implements ResourceLocation
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
id, index, type
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
ResourceLocationImpl() |
|
ResourceLocationImpl(org.eclipse.emf.ecore.resource.Resource resource,
int index,
org.eclipse.emf.ecore.resource.Resource physicalResource,
int physicalIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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.
|
int |
getIndex()
Returns the index in the 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.
|
org.eclipse.emf.ecore.resource.Resource |
getPhysicalResource() |
int |
getPhysicalResourceIndex() |
org.eclipse.emf.ecore.resource.Resource |
getResource() |
int |
hashCode() |
void |
setObject(org.eclipse.emf.ecore.EObject object)
Sets the eObject.
|
java.lang.String |
toString() |
void |
toStringImpl(java.lang.StringBuilder sb) |
getId, getType, print
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
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected ResourceLocationImpl()
public ResourceLocationImpl(org.eclipse.emf.ecore.resource.Resource resource, int index, org.eclipse.emf.ecore.resource.Resource physicalResource, int physicalIndex)
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 int hashCode()
hashCode
in class java.lang.Object
public org.eclipse.emf.ecore.EObject getObject()
Location
getObject
in interface Location
getObject
in class LocationImpl
public void setObject(org.eclipse.emf.ecore.EObject object)
Location
setObject
in interface Location
setObject
in class LocationImpl
object
- an eObjectpublic java.lang.String getObjectMatchingId()
Location
getObjectMatchingId
in interface Location
getObjectMatchingId
in class LocationImpl
public org.eclipse.emf.ecore.EStructuralFeature getFeature()
Location
getFeature
in interface Location
public org.eclipse.emf.ecore.resource.Resource getPhysicalResource()
getPhysicalResource
in interface ResourceLocation
public int getPhysicalResourceIndex()
getPhysicalResourceIndex
in interface ResourceLocation
public int getIndex()
Location
getIndex
in interface Location
getIndex
in class LocationImpl
public java.lang.String toString()
toString
in class LocationImpl
public java.lang.String getFeatureId()
Location
getFeatureId
in interface Location
getFeatureId
in class LocationImpl
public void toStringImpl(java.lang.StringBuilder sb)
public org.eclipse.emf.ecore.resource.Resource getResource()
getResource
in interface ResourceLocation