|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AdapterManagerTestSupport
| Method Summary | |
|---|---|
NakedObject |
testCreateTransient(java.lang.Object pojo,
Oid oid)
For testing purposes, creates an adapter for the supplied domain object
with the specified Oid. |
| Method Detail |
|---|
NakedObject testCreateTransient(java.lang.Object pojo,
Oid oid)
adapter for the supplied domain object
with the specified Oid.
The usual way of creating adapters is using #adapterFor(Object), using
the OidGenerator to obtain an Oid. This test-support method differs because it allows
the Oid to be specified explicitly.
Note that the Oid must represent a transient object. If an
adapter is required for a persistent Oid, just use #recreateRootAdapter(Object, Oid).
#adapterFor(Object),
#recreateRootAdapter(Object, Oid)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||