|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Detachable<T>
Represents a detachable object. It represent a reference to a persistent object. The object is detachable in that the memory footprint can be reduced by not keeping a reference to the complete java object, but only to its identify in persistent storage. This is typically the primary key in a relational database.
| Method Summary | |
|---|---|
void |
detach()
Detaches the object. |
T |
get()
Gets the object, attaching it if needed. |
| Method Detail |
|---|
void detach()
T get()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||