Package org.ametys.plugins.forms.data
Class FieldValue
- java.lang.Object
-
- org.ametys.plugins.forms.data.FieldValue
-
public class FieldValue extends Object
Class representing a field value.
-
-
Constructor Summary
Constructors Constructor Description FieldValue()
Default constructor.FieldValue(String columnName, int type, Object value, Field field)
Constructor with parameters.FieldValue(FieldValue value)
Copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColumnName()
Get the columnName.Field
getField()
Get the corresponding field.int
getType()
Get the type.Object
getValue()
Get the value.void
setColumnName(String columnName)
Set the columnName.void
setField(Field field)
Set the corresponding field.void
setType(int type)
Set the type.void
setValue(Object value)
Set the value.
-
-
-
Constructor Detail
-
FieldValue
public FieldValue()
Default constructor.
-
FieldValue
public FieldValue(String columnName, int type, Object value, Field field)
Constructor with parameters.- Parameters:
columnName
- the column name.type
- the column type.value
- the entry value.field
- the corresponding field.
-
FieldValue
public FieldValue(FieldValue value)
Copy constructor.- Parameters:
value
- the value.
-
-
Method Detail
-
getColumnName
public String getColumnName()
Get the columnName.- Returns:
- the columnName
-
setColumnName
public void setColumnName(String columnName)
Set the columnName.- Parameters:
columnName
- the columnName to set
-
getType
public int getType()
Get the type.- Returns:
- the type
-
setType
public void setType(int type)
Set the type.- Parameters:
type
- the type to set
-
-