|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Mappable
The mappable interface should be implemented by all classes mapped to the base model.
Method Summary | |
---|---|
Mappable |
clone()
Clones the mappable. |
Object |
getAttribute(String name)
Value of the attribute with name 'name' mapped to the base model. |
String[] |
getAttributeNames()
Array of names of attributes mapped to the base model. |
Class |
getAttributeType(String name)
Returns the type of the attribute with given name. |
String |
getId()
Domain specific id of the object. |
long |
getMid()
The base model id of the object. |
String |
getType()
The mapped type of the object. |
void |
setAttribute(String name,
Object value)
Sets the value of the attribute with given name. |
void |
setId(String id)
Domain specific id setter. |
void |
setMid(long id)
Base model id setter. |
Method Detail |
---|
long getMid()
void setMid(long id)
id
- to set.String getId()
void setId(String id)
id
- The id to set.Object getAttribute(String name)
name
- The name of the attribute
String[] getAttributeNames()
Class getAttributeType(String name)
name
- The name of the attribute.
void setAttribute(String name, Object value)
name
- The name of the attribute.value
- The value of the attribute.String getType()
Mappable clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |