net.aditsu.depeche
public class Field extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
Column |
getColumn()
Returns the column that this field belongs to
|
int |
getColumnIndex()
Returns this field's index in the containing record's list of fields/columns
|
FKey |
getFKey()
Returns the foreign key that contains this field's column (if it exists and is unique)
|
Serializable |
getValue()
Returns the field's value
|
Serializable |
getValueOrNull()
Returns the field's value; if the value is UNSET then it returns null instead
|
void |
setValue(Serializable val)
Sets the field's value
|
public Serializable getValue()
public Serializable getValueOrNull()
public void setValue(Serializable val)
public Column getColumn()
public int getColumnIndex()
public FKey getFKey()