|
JDBaccess API 1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jdbaccess.transfer.TransferObject
com.jdbaccess.transfer.Row
public class Row
Rows are transfer objects for database rows. Rows contain values of database rows (of type FieldValue)
| Constructor Summary | |
|---|---|
Row()
|
|
| Method Summary | |
|---|---|
java.util.ArrayList |
getFields()
Gets all fields of this row |
java.util.ArrayList |
getModifiedFieldNames()
Returns all modified field names of this row as an ArrayList of String |
java.lang.Object |
getValue(java.lang.String fieldName)
Gets the value of the field with that field name |
boolean |
hasIdField()
Returns true if this row has an id field else false |
boolean |
hasModifiedFields()
Returns true if at least one field value is modified else false |
boolean |
isModified(java.lang.String fieldName)
Returns true if the field with this field name is modified |
void |
setAllFieldsModified()
Sets all field values modified |
void |
setAllFieldsUnmodified()
Sets all field values unmodified |
void |
setValue(java.lang.String fieldName,
java.lang.Object value)
Sets the value of the field with that fieldName (not modified) |
void |
setValueModified(java.lang.String fieldName,
java.lang.Object value)
Sets the value of the field with that fieldName modified |
java.lang.String |
toString()
Returns a String representation of this transfer object |
| Methods inherited from class com.jdbaccess.transfer.TransferObject |
|---|
getEntity, getField, getIdentifierFieldName, getSequenceName, getWhereCondition, setEntity, setSequenceName, setWhereCondition, xxxxxInternalGetTOHelper |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Row()
| Method Detail |
|---|
public java.lang.Object getValue(java.lang.String fieldName)
getValue in class TransferObjectfieldName - case insensitive
public void setValue(java.lang.String fieldName,
java.lang.Object value)
setValue in class TransferObjectfieldName - field name is case insensitivevalue - value to setTransferObject.setValueModified(String, Object)
public void setValueModified(java.lang.String fieldName,
java.lang.Object value)
setValueModified in class TransferObjectfieldName - is case insensitivevalue - value to setTransferObject.setValue(String, Object)public java.util.ArrayList getFields()
getFields in class TransferObjectpublic boolean hasModifiedFields()
hasModifiedFields in class TransferObjectpublic java.util.ArrayList getModifiedFieldNames()
getModifiedFieldNames in class TransferObjectpublic void setAllFieldsUnmodified()
setAllFieldsUnmodified in class TransferObjectpublic void setAllFieldsModified()
setAllFieldsModified in class TransferObjectpublic boolean hasIdField()
hasIdField in class TransferObjectpublic boolean isModified(java.lang.String fieldName)
isModified in class TransferObjectfieldName - name of the field
public java.lang.String toString()
toString in class TransferObject
|
JDBaccess API 1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||