Class FieldResultBean

java.lang.Object
com.saperion.ngc.iform.FieldResultBean
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CustomConditionBean

public class FieldResultBean extends Object implements Serializable
A bean that represents the value that was entered in a field of a form.
See Also:
  • Constructor Details

    • FieldResultBean

      public FieldResultBean(String name, String databaseFieldName, com.saperion.ngc.iform.xml.LimitType limitValue, com.saperion.intf.SaValue[] values, int type, boolean multi)
      Constructor.
      Parameters:
      name - Fieldname
      databaseFieldName - The name of the database field name
      limitValue - Limit
      values - Values
      type - FieldType
      multi - Is multivalue
    • FieldResultBean

      public FieldResultBean(IntelligentField field, com.saperion.intf.SaValue[] values, boolean wasCleared)
      Constructor for field-usage.
      Parameters:
      field - intelligent field
      values - values
      wasCleared - field was cleared
    • FieldResultBean

      public FieldResultBean(com.saperion.intf.SaPropertyValue propValue, com.saperion.ngc.iform.xml.LimitType limitValue, String databaseFieldName)
      Constructor.
      Parameters:
      propValue - Property value
      limitValue - Limit
      databaseFieldName - The name of the database field name
    • FieldResultBean

      public FieldResultBean(com.saperion.intf.SaPropertyValue propValue, com.saperion.ngc.iform.xml.LimitType limitValue, String databaseFieldName, boolean wasCleared)
      Constructor.
      Parameters:
      propValue - Property value
      limitValue - Limit
      databaseFieldName - The name of the database field name
      wasCleared - field was cleared
  • Method Details

    • getFieldName

      public final String getFieldName()
      Returns:
      the fieldName
    • getLimit

      public final com.saperion.ngc.iform.xml.LimitType getLimit()
      Returns:
      the limit
    • getValue

      public final com.saperion.intf.SaValue[] getValue()
      Returns:
      the value
    • getFieldType

      public final int getFieldType()
      Returns:
      the fieldType
    • isMultiValue

      public final boolean isMultiValue()
      Returns:
      the multiValue
    • getDatabaseFieldName

      public final String getDatabaseFieldName()
      Returns:
      the name of the field as stored in the database
    • isCleared

      public final boolean isCleared()
      Returns:
      true if the field's value was cleared
    • getSearchMode

      public FieldSearchMode getSearchMode()
      Returns:
      search mode for this field
      See Also:
    • setSearchMode

      public void setSearchMode(FieldSearchMode searchMode)
      Sets the search mode for this field.
      Parameters:
      searchMode - search mode
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object