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