|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistentCapableIfc
This interface is used to mark persistent capable classes. These classes can be made persistent but do not necessarily have to be persistent since they can also exist in transient store.
Currently this class does constrain the definitions of ObjectId and ObjectVersion but in future these maybe changed to interfaces, hence giving the implementor additional freedom.
ObjectId
,
ObjectVersion
Method Summary | |
---|---|
int |
getMinimumObjectSize()
Return the minimum size of this object. |
ObjectId |
getObjectId()
Return the object identifier associated with this object |
ObjectVersion |
getObjectVersion()
Return the object version associated with this object |
void |
setMinimumObjectSize(int size)
Set the minimum size that the object should occurpy. |
Method Detail |
---|
ObjectId getObjectId()
ObjectVersion getObjectVersion()
int getMinimumObjectSize()
void setMinimumObjectSize(int size)
size
- minimum object size
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |