|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Storable
The interface an object must implement to be managed in the Store.
| Field Summary | |
|---|---|
static java.lang.String |
REVISION
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
java.lang.String |
getAttribute(java.lang.Object attribute)
Returns a persistent representation of an attribute from its name |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Storable attributes getter |
java.util.Date |
getCdate()
Get the value of cdate. |
java.util.Date |
getDdate()
Returns the delete date of this storable. |
java.lang.String |
getId()
Get the value of id. |
java.util.Date |
getMdate()
Get the value of mdate. |
Store |
getStore()
Get the value of store. |
java.lang.String |
resolveAtt(java.lang.Object attVal)
This method must be called if the type was not resolved by the getAttribute method |
java.lang.Object |
resolveVal(java.lang.Class<?> classType,
java.lang.String persistentValue)
This method must be called if the type was not resolved by the getValue method |
void |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Storable attributes setter |
void |
setCdate(java.util.Date v)
Set the value of cdate. |
void |
setDdate(java.util.Date ddate)
Sets the delete date of this storable. |
void |
setId(java.lang.String v)
Set the value of id. |
void |
setMdate(java.util.Date v)
Set the value of mdate. |
void |
setStore(Store v)
Set the value of store. |
| Field Detail |
|---|
static final java.lang.String REVISION
| Method Detail |
|---|
void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
attributes - the attributes to set:java.util.Map<java.lang.String,java.lang.String> getAttributes()
java.lang.String getAttribute(java.lang.Object attribute)
attribute - he attribute
java.lang.String resolveAtt(java.lang.Object attVal)
attVal - the value of the attribute
java.lang.Object resolveVal(java.lang.Class<?> classType,
java.lang.String persistentValue)
classType - the class typepersistentValue - the persistent value
java.lang.Object clone()
java.lang.String getId()
void setId(java.lang.String v)
v - Value to assign to id.Store getStore()
void setStore(Store v)
v - Value to assign to store.java.util.Date getCdate()
void setCdate(java.util.Date v)
v - Value to assign to cdate.java.util.Date getMdate()
void setMdate(java.util.Date v)
v - Value to assign to mdate.java.util.Date getDdate()
void setDdate(java.util.Date ddate)
ddate -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||