org.apache.ojb.odmg
Class NamedRootsMap.NamedEntry
java.lang.Object
org.apache.ojb.odmg.NamedRootsMap.NamedEntry
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- NamedRootsMap
public static final class NamedRootsMap.NamedEntry
- extends Object
- implements Serializable
represents an entry to the named roots table.
maps names (Strings) to OJB Identities
- See Also:
- Serialized Form
Field Summary |
private String |
name
the name under which an object is registered in the NamedRoots Map |
private Object |
object
|
private byte[] |
oid
the serialized Identity representing the named Object |
(package private) static long |
serialVersionUID
|
private boolean |
useIdentity
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
name
private String name
- the name under which an object is registered in the NamedRoots Map
oid
private byte[] oid
- the serialized Identity representing the named Object
object
private transient Object object
useIdentity
private transient boolean useIdentity
NamedRootsMap.NamedEntry
public NamedRootsMap.NamedEntry()
NamedRootsMap.NamedEntry
NamedRootsMap.NamedEntry(String aName,
Object object,
boolean useIdentity)
prepareForStore
public void prepareForStore(PersistenceBroker broker)
- This has to be called before this object will be persistet.
getName
public String getName()
setName
public void setName(String name)
getOid
public byte[] getOid()
setOid
public void setOid(byte[] oid)
getObject
Object getObject()
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.