Class FieldValue
java.lang.Object
org.ametys.plugins.forms.content.data.FieldValue
Class representing a field value.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefault constructor.FieldValue
(String columnName, int type, Object value, Field field) Constructor with parameters.FieldValue
(FieldValue value) Copy constructor. -
Method Summary
-
Field Details
-
_columnName
The database column name. -
_type
The database column type (fromTypes
). -
_value
The value. -
_field
The corresponding field.
-
-
Constructor Details
-
FieldValue
public FieldValue()Default constructor. -
FieldValue
Constructor with parameters.- Parameters:
columnName
- the column name.type
- the column type.value
- the entry value.field
- the corresponding field.
-
FieldValue
Copy constructor.- Parameters:
value
- the value.
-
-
Method Details
-
getColumnName
Get the columnName.- Returns:
- the columnName
-
setColumnName
Set the columnName.- Parameters:
columnName
- the columnName to set
-
getType
Get the type.- Returns:
- the type
-
setType
Set the type.- Parameters:
type
- the type to set
-
getValue
Get the value.- Returns:
- the value
-
setValue
Set the value.- Parameters:
value
- the value to set
-
getField
Get the corresponding field.- Returns:
- the corresponding field.
-
setField
Set the corresponding field.- Parameters:
field
- the corresponding field to set.
-