|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.df.api.dml.DFRowData
public final class DFRowData
Data for a single row in database.
| Method Summary | |
|---|---|
static DFRowData |
create(Comparable<?> id,
Map<String,Object> values)
Creates a new row data. |
boolean |
equals(Object other)
|
Comparable<?> |
getId()
Gets an id of the row encapsulated in this instance. |
Object |
getValue(String fieldId)
Gets value for the field with specified id. |
int |
getValuesCount()
Count of values in row |
int |
hashCode()
|
boolean |
hasValueFor(String fieldId)
Determines if the encapsulated row contains data for a field. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static DFRowData create(Comparable<?> id,
Map<String,Object> values)
getValuesCount().
id - The values of ID field (primary key)values - The other values in the row.
DFRawData object encapsulating the values passed in.public int getValuesCount()
public Comparable<?> getId()
public Object getValue(String fieldId)
fieldId - Id of requested field
public boolean hasValueFor(String fieldId)
fieldId - An id of a field to check.
true, if the data for the specified field exists.public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectpublic String toString()
toString in class Object
|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||