|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Entity
This interface defines some basic accessor methods to access different typed attributes from a data entity.
DefaultEntity
Method Summary | |
---|---|
java.lang.Object[] |
getArray(java.lang.String attr)
Get the values of an array attribute. |
java.util.Date |
getDate(java.lang.String attr)
Get the value of a date attribute. |
int |
getInt(java.lang.String attr)
Get the value of an int attribute. |
long |
getLong(java.lang.String attr)
Get the value of a long attribute. |
java.lang.Object |
getObject(java.lang.String attr)
Get the value of an object attribute. |
java.lang.String |
getString(java.lang.String attr)
Get the value of a string attribute. |
Method Detail |
---|
java.lang.Object[] getArray(java.lang.String attr)
Get the values of an array attribute.
attr
- Array attribute to query the data for.
java.util.Date getDate(java.lang.String attr)
Get the value of a date attribute.
attr
- Date attribute to query the data for.
int getInt(java.lang.String attr)
Get the value of an int attribute.
attr
- Int attribute to query the data for.
long getLong(java.lang.String attr)
Get the value of a long attribute.
attr
- Long attribute to query the data for.
java.lang.Object getObject(java.lang.String attr)
Get the value of an object attribute.
attr
- Object attribute to query the data for.
java.lang.String getString(java.lang.String attr)
Get the value of a string attribute.
attr
- String attribute to query the data for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |