|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.runtime.persistence.adaptermanager.internal.OidAdapterHashMap
public class OidAdapterHashMap
| Constructor Summary | |
|---|---|
OidAdapterHashMap()
|
|
OidAdapterHashMap(int capacity)
|
|
| Method Summary | |
|---|---|
void |
add(Oid oid,
NakedObject adapter)
Add an adapter for a given oid |
void |
close()
|
void |
debugData(DebugString debug)
|
java.lang.String |
debugTitle()
|
NakedObject |
getAdapter(Oid oid)
Get the adapter identified by the specified OID. |
java.util.Iterator<Oid> |
iterator()
|
void |
open()
|
boolean |
remove(Oid oid)
Remove the adapter for the given oid |
void |
reset()
Removes all non-service adapters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OidAdapterHashMap()
public OidAdapterHashMap(int capacity)
| Method Detail |
|---|
public void open()
open in interface SessionScopedComponentpublic void close()
close in interface SessionScopedComponentpublic void reset()
non-service adapters.
reset in interface Resettable
public void add(Oid oid,
NakedObject adapter)
OidAdapterMap
add in interface OidAdapterMappublic boolean remove(Oid oid)
OidAdapterMap
remove in interface OidAdapterMappublic NakedObject getAdapter(Oid oid)
OidAdapterMap
getAdapter in interface OidAdapterMappublic java.util.Iterator<Oid> iterator()
iterator in interface java.lang.Iterable<Oid>public java.lang.String debugTitle()
debugTitle in interface DebugInfopublic void debugData(DebugString debug)
debugData in interface DebugInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||