org.wamblee.persistence
Class PersistentFactory.EntityObjectAccessor

java.lang.Object
  extended by org.wamblee.persistence.PersistentFactory.EntityObjectAccessor
All Implemented Interfaces:
Persistent
Enclosing class:
PersistentFactory

public static class PersistentFactory.EntityObjectAccessor
extends java.lang.Object
implements Persistent


Constructor Summary
PersistentFactory.EntityObjectAccessor(java.lang.Object aEntity, org.wamblee.persistence.PersistentFactory.EntityAccessor aAccessor)
           
 
Method Summary
 org.wamblee.persistence.PersistentFactory.EntityAccessor getAccessor()
           
 java.lang.Number getPersistedVersion()
          Gets the version.
 java.io.Serializable getPrimaryKey()
          Gets the primary key.
 void setPersistedVersion(java.lang.Number aVersion)
          Sets the version.
 void setPrimaryKey(java.io.Serializable aKey)
          Sets the primary key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentFactory.EntityObjectAccessor

public PersistentFactory.EntityObjectAccessor(java.lang.Object aEntity,
                                              org.wamblee.persistence.PersistentFactory.EntityAccessor aAccessor)
Method Detail

getAccessor

public org.wamblee.persistence.PersistentFactory.EntityAccessor getAccessor()

getPrimaryKey

public java.io.Serializable getPrimaryKey()
Description copied from interface: Persistent
Gets the primary key.

Specified by:
getPrimaryKey in interface Persistent
Returns:
Primary key.
See Also:
Persistent.setPrimaryKey(Serializable)

setPrimaryKey

public void setPrimaryKey(java.io.Serializable aKey)
Description copied from interface: Persistent
Sets the primary key.

Specified by:
setPrimaryKey in interface Persistent
Parameters:
aKey - Primary key.
See Also:
Persistent.getPrimaryKey()

getPersistedVersion

public java.lang.Number getPersistedVersion()
Description copied from interface: Persistent
Gets the version.

Specified by:
getPersistedVersion in interface Persistent
Returns:
Version.
See Also:
#setPersistedVersion(int)

setPersistedVersion

public void setPersistedVersion(java.lang.Number aVersion)
Description copied from interface: Persistent
Sets the version.

Specified by:
setPersistedVersion in interface Persistent
Parameters:
aVersion - Version.
See Also:
Persistent.getPersistedVersion()


Copyright © 2010. All Rights Reserved.