public static class PersistentFactory.EntityObjectAccessor extends Object implements Persistent
Constructor and Description |
---|
EntityObjectAccessor(Object aEntity,
org.wamblee.persistence.PersistentFactory.EntityAccessor aAccessor) |
Modifier and Type | Method and Description |
---|---|
org.wamblee.persistence.PersistentFactory.EntityAccessor |
getAccessor() |
Number |
getPersistedVersion()
Gets the version.
|
Serializable |
getPrimaryKey()
Gets the primary key.
|
void |
setPersistedVersion(Number aVersion)
Sets the version.
|
void |
setPrimaryKey(Serializable aKey)
Sets the primary key.
|
public EntityObjectAccessor(Object aEntity, org.wamblee.persistence.PersistentFactory.EntityAccessor aAccessor)
public org.wamblee.persistence.PersistentFactory.EntityAccessor getAccessor()
public Serializable getPrimaryKey()
Persistent
getPrimaryKey
in interface Persistent
Persistent.setPrimaryKey(Serializable)
public void setPrimaryKey(Serializable aKey)
Persistent
setPrimaryKey
in interface Persistent
aKey
- Primary key.Persistent.getPrimaryKey()
public Number getPersistedVersion()
Persistent
getPersistedVersion
in interface Persistent
#setPersistedVersion(int)
public void setPersistedVersion(Number aVersion)
Persistent
setPersistedVersion
in interface Persistent
aVersion
- Version.Persistent.getPersistedVersion()
Copyright © 2024. All rights reserved.