Class FieldValue

java.lang.Object
org.ametys.plugins.forms.content.data.FieldValue

public class FieldValue extends Object
Class representing a field value.
  • Field Details

  • Constructor Details

    • 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 Details

    • 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
    • getValue

      public Object getValue()
      Get the value.
      Returns:
      the value
    • setValue

      public void setValue(Object value)
      Set the value.
      Parameters:
      value - the value to set
    • getField

      public Field getField()
      Get the corresponding field.
      Returns:
      the corresponding field.
    • setField

      public void setField(Field field)
      Set the corresponding field.
      Parameters:
      field - the corresponding field to set.