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.EPropertiesHolderImplorg.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.EObservableAdapterListid, index, typeeAdapters, 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, printeAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, 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, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, finalize, getClass, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected 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 LocationImplpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic org.eclipse.emf.ecore.EObject getObject()
LocationgetObject in interface LocationgetObject in class LocationImplpublic void setObject(org.eclipse.emf.ecore.EObject object)
LocationsetObject in interface LocationsetObject in class LocationImplobject - an eObjectpublic java.lang.String getObjectMatchingId()
LocationgetObjectMatchingId in interface LocationgetObjectMatchingId in class LocationImplpublic org.eclipse.emf.ecore.EStructuralFeature getFeature()
LocationgetFeature in interface Locationpublic org.eclipse.emf.ecore.resource.Resource getPhysicalResource()
getPhysicalResource in interface ResourceLocationpublic int getPhysicalResourceIndex()
getPhysicalResourceIndex in interface ResourceLocationpublic int getIndex()
LocationgetIndex in interface LocationgetIndex in class LocationImplpublic java.lang.String toString()
toString in class LocationImplpublic java.lang.String getFeatureId()
LocationgetFeatureId in interface LocationgetFeatureId in class LocationImplpublic void toStringImpl(java.lang.StringBuilder sb)
public org.eclipse.emf.ecore.resource.Resource getResource()
getResource in interface ResourceLocation