public abstract class LocationImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Location
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 java.lang.String |
id |
protected int |
index |
protected LocationType |
type |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
LocationImpl() |
|
LocationImpl(LocationType type,
int index) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
abstract java.lang.String |
getFeatureId()
Returns a unique ID for this location's feature.
|
java.lang.String |
getId()
Returns a unique ID for this location.
|
int |
getIndex()
Returns the index in the feature.
|
abstract org.eclipse.emf.ecore.EObject |
getObject()
Returns the container of the location.
|
abstract java.lang.String |
getObjectMatchingId()
Returns the matching ID of the object of the location if there is one.
|
LocationType |
getType()
Returns the
LocationType of this location |
void |
print(java.io.PrintStream out)
Prints a text representation to a stream.
|
abstract void |
setObject(org.eclipse.emf.ecore.EObject object)
Sets the eObject.
|
java.lang.String |
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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFeature
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected LocationType type
protected int index
protected java.lang.String id
protected LocationImpl()
public LocationImpl(LocationType type, int index)
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class org.eclipse.emf.ecore.impl.EObjectImpl
public LocationType getType()
Location
LocationType
of this locationpublic abstract org.eclipse.emf.ecore.EObject getObject()
Location
public abstract void setObject(org.eclipse.emf.ecore.EObject object)
Location
public abstract java.lang.String getObjectMatchingId()
Location
getObjectMatchingId
in interface Location
public int getIndex()
Location
public java.lang.String getId()
Location
public abstract java.lang.String getFeatureId()
Location
getFeatureId
in interface Location
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl