org.eclipse.emf.cdo.common.id
Interface CDOReference<OBJECT>

All Known Subinterfaces:
CDOObjectReference
All Known Implementing Classes:
CDOIDReference

public interface CDOReference<OBJECT>

Represents a reference from one object to another object, possibly CDOID or CDOObject typed.

Since:
4.0
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.

Field Summary
static int NO_INDEX
           
 
Method Summary
 EStructuralFeature getSourceFeature()
          Returns the source EReference or the source EAttribute if the source feature is a FeatureMap.
 int getSourceIndex()
           
 OBJECT getSourceObject()
           
 OBJECT getTargetObject()
           
 

Field Detail

NO_INDEX

static final int NO_INDEX
See Also:
Constant Field Values
Method Detail

getTargetObject

OBJECT getTargetObject()

getSourceObject

OBJECT getSourceObject()

getSourceFeature

EStructuralFeature getSourceFeature()
Returns the source EReference or the source EAttribute if the source feature is a FeatureMap.


getSourceIndex

int getSourceIndex()


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.