org.persvr.data
Class ObjectNotFoundId

java.lang.Object
  extended by org.persvr.data.Identification<Persistable>
      extended by org.persvr.data.ObjectId
          extended by org.persvr.data.ObjectNotFoundId
All Implemented Interfaces:
TargetRetriever<Persistable>

public class ObjectNotFoundId
extends ObjectId

Represents an ID that doesn't have a source

Author:
Kris

Nested Class Summary
 
Nested classes/interfaces inherited from class org.persvr.data.ObjectId
ObjectId.ObjectType
 
Field Summary
 
Fields inherited from class org.persvr.data.ObjectId
DEFAULT_RADIX
 
Fields inherited from class org.persvr.data.Identification
source, subObjectId
 
Constructor Summary
ObjectNotFoundId(DataSource source, java.lang.String id)
           
 
Method Summary
protected  Persistable resolveTarget()
          Implementations should implement this to resolve a target when it has not been loaded yet
 
Methods inherited from class org.persvr.data.ObjectId
assignId, equals, getOrCreateTarget, hashCode, hidden, idForObject, idForString, insertObjectForId, isLocal, isPersisted, persistIfNeeded
 
Methods inherited from class org.persvr.data.Identification
getSource, getSubObjectId, getTarget, idForRelativeString, isForeign, isLoaded, relativePath, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectNotFoundId

public ObjectNotFoundId(DataSource source,
                        java.lang.String id)
Method Detail

resolveTarget

protected Persistable resolveTarget()
Description copied from class: Identification
Implementations should implement this to resolve a target when it has not been loaded yet

Overrides:
resolveTarget in class ObjectId
Returns:
object referred to by identification