|
SPT Object Database API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.prevayler.ReferenceStorage.FieldStorage
private class ReferenceStorage.FieldStorage
The storage for all the references fields in a prevalent object.
| Field Summary | |
|---|---|
private Map<String,Object> |
fieldStorage
The map used to maintain the field name to object id mappings. |
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
private |
ReferenceStorage.FieldStorage()
|
| Method Summary | |
|---|---|
private void |
add(String name,
Object oid)
Add the specified mapping to the store. |
private Collection<String> |
getFields()
Return a collection of field names that are stored in in this store. |
private Object |
getValue(String name)
Return the value associated with the field with the specified name. |
private void |
remove(String name)
Remove the mapping for the specified field from fieldStorage. |
private void |
remove(String name,
Object objectId)
Remove the specified reference from the field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private final Map<String,Object> fieldStorage
| Constructor Detail |
|---|
private ReferenceStorage.FieldStorage()
| Method Detail |
|---|
private void add(String name,
Object oid)
name - The name of the reference field.oid - The oid value for the referenced object.private void remove(String name)
fieldStorage.
name - The name of the reference field whose mapping is to be
removed.
private void remove(String name,
Object objectId)
remove( String ).
name - The name of the reference field whose mapping is to be
removed.objectId - The object id that is to be removed from the mapping.private Collection<String> getFields()
private Object getValue(String name)
name - The name of the field whose value is to be retrieved.
|
SPT Object Database API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||