|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Persistable
Interface Persistable describes the functionality required by classes to be persisted.
Method Summary | |
---|---|
NameValuePairList |
getAttributes()
Get all single value fields. |
java.util.List<java.util.List<Persistable>> |
getChildren()
Get all multi value fields. |
java.lang.String |
getId()
Get id identifying object. |
java.lang.String |
getType()
Get type (XML element name / database table name not Java class name). |
void |
setAttributes(NameValuePairList attr)
Set all single value fields. |
void |
setChildren(java.util.List<java.util.List<Persistable>> childs)
Set all multi value fields. |
Method Detail |
---|
java.lang.String getId()
java.lang.String getType()
NameValuePairList getAttributes()
java.util.List<java.util.List<Persistable>> getChildren()
void setAttributes(NameValuePairList attr) throws ModelException
attr
- value pair list
ModelException
- if problemsvoid setChildren(java.util.List<java.util.List<Persistable>> childs) throws ModelException
childs
- list of list of persistable objects
ModelException
- if problems
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |