public interface ConditionsObject extends DatabaseObject
Most of the functionality is derived from the DatabaseObject
interface.
Modifier and Type | Method and Description |
---|---|
Integer |
getCollectionId()
Return the collection ID of the object.
|
<T> T |
getFieldValue(Class<T> type,
String name)
Get the value of a field by casting to an explicit type.
|
<T> T |
getFieldValue(String name)
Get the value of a field by casting to an implicit type.
|
FieldValues |
getFieldValues()
Get the field values for the object.
|
int |
getRowId()
Get the row ID of the object in the database.
|
boolean |
hasValidCollectionId()
Return
true if object has a valid collection ID. |
void |
setFieldValue(String name,
Object value)
Set the value of a field.
|
void |
setFieldValues(FieldValues fieldValues)
Set all of the field values.
|
delete, getTableMetaData, insert, isNew, select, setConnection, setTableMetaData, update
Integer getCollectionId()
<T> T getFieldValue(Class<T> type, String name)
type
- the return typename
- the name of the field<T> T getFieldValue(String name)
name
- the name of the fieldFieldValues getFieldValues()
int getRowId()
boolean hasValidCollectionId()
true
if object has a valid collection ID.true
if object has a valid collection IDvoid setFieldValue(String name, Object value)
name
- the name of the fieldvalue
- the new value of the fieldvoid setFieldValues(FieldValues fieldValues)
fieldValues
- the new field valuesCopyright © 2019. All rights reserved.