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 StringgetColumnName()Get the columnName.FieldgetField()Get the corresponding field.intgetType()Get the type.ObjectgetValue()Get the value.voidsetColumnName(String columnName)Set the columnName.voidsetField(Field field)Set the corresponding field.voidsetType(int type)Set the type.voidsetValue(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
-
-