public interface Storable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Modifier and Type | Method and Description |
---|---|
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(StorableLogEntry sle)
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.
|
static final java.lang.String REVISION
void setAttributes(StorableLogEntry sle)
sle
- the StorableLogEntry that contains the attributes to set:java.util.Map<java.lang.String,java.lang.String> getAttributes()
java.lang.String getAttribute(java.lang.Object attribute)
attribute
- he attributejava.lang.String resolveAtt(java.lang.Object attVal)
attVal
- the value of the attributejava.lang.Object resolveVal(java.lang.Class<?> classType, java.lang.String persistentValue)
classType
- the class typepersistentValue
- the persistent valuejava.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
- Copyright © 2001-2010 Jalios SA. All Rights Reserved.