org.persvr.data
Class LazyPropertyId
java.lang.Object
org.persvr.data.Identification<java.lang.Object>
org.persvr.data.LazyPropertyId
- All Implemented Interfaces:
- TargetRetriever<java.lang.Object>
- Direct Known Subclasses:
- DeferredField
public class LazyPropertyId
- extends Identification<java.lang.Object>
- Author:
- Kris Zyp
|
Method Summary |
java.lang.String |
getField()
|
java.lang.Object |
resolveTarget()
Implementations should implement this to resolve a target when it has not been loaded yet |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LazyPropertyId
public LazyPropertyId(ObjectId parentId,
java.lang.String field)
LazyPropertyId
public LazyPropertyId(DataSource source,
java.lang.String objectId,
java.lang.String field)
resolveTarget
public java.lang.Object resolveTarget()
- Description copied from class:
Identification
- Implementations should implement this to resolve a target when it has not been loaded yet
- Specified by:
resolveTarget in class Identification<java.lang.Object>
- Returns:
- object referred to by identification
getField
public java.lang.String getField()
toString
public java.lang.String toString()
- Overrides:
toString in class Identification<java.lang.Object>