Package com.saperion.ngc.iform
Class FieldResultBean
- java.lang.Object
-
- com.saperion.ngc.iform.FieldResultBean
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CustomConditionBean
public class FieldResultBean extends java.lang.Object implements java.io.Serializable
A bean that represents the value that was entered in a field of a form.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FieldResultBean(com.saperion.intf.SaPropertyValue propValue, com.saperion.ngc.iform.xml.LimitType limitValue, java.lang.String databaseFieldName)
Constructor.FieldResultBean(com.saperion.intf.SaPropertyValue propValue, com.saperion.ngc.iform.xml.LimitType limitValue, java.lang.String databaseFieldName, boolean wasCleared)
Constructor.FieldResultBean(IntelligentField field, com.saperion.intf.SaValue[] values, boolean wasCleared)
Constructor for field-usage.FieldResultBean(java.lang.String name, java.lang.String databaseFieldName, com.saperion.ngc.iform.xml.LimitType limitValue, com.saperion.intf.SaValue[] values, int type, boolean multi)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDatabaseFieldName()
java.lang.String
getFieldName()
int
getFieldType()
com.saperion.ngc.iform.xml.LimitType
getLimit()
FieldSearchMode
getSearchMode()
com.saperion.intf.SaValue[]
getValue()
boolean
isCleared()
boolean
isMultiValue()
void
setSearchMode(FieldSearchMode searchMode)
Sets the search mode for this field.java.lang.String
toString()
-
-
-
Constructor Detail
-
FieldResultBean
public FieldResultBean(java.lang.String name, java.lang.String databaseFieldName, com.saperion.ngc.iform.xml.LimitType limitValue, com.saperion.intf.SaValue[] values, int type, boolean multi)
Constructor.- Parameters:
name
- FieldnamedatabaseFieldName
- The name of the database field namelimitValue
- Limitvalues
- Valuestype
- FieldTypemulti
- Is multivalue
-
FieldResultBean
public FieldResultBean(IntelligentField field, com.saperion.intf.SaValue[] values, boolean wasCleared)
Constructor for field-usage.- Parameters:
field
- intelligent fieldvalues
- valueswasCleared
- field was cleared
-
FieldResultBean
public FieldResultBean(com.saperion.intf.SaPropertyValue propValue, com.saperion.ngc.iform.xml.LimitType limitValue, java.lang.String databaseFieldName)
Constructor.- Parameters:
propValue
- Property valuelimitValue
- LimitdatabaseFieldName
- The name of the database field name
-
FieldResultBean
public FieldResultBean(com.saperion.intf.SaPropertyValue propValue, com.saperion.ngc.iform.xml.LimitType limitValue, java.lang.String databaseFieldName, boolean wasCleared)
Constructor.- Parameters:
propValue
- Property valuelimitValue
- LimitdatabaseFieldName
- The name of the database field namewasCleared
- field was cleared
-
-
Method Detail
-
getFieldName
public final java.lang.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 java.lang.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:
FieldSearchMode
-
setSearchMode
public void setSearchMode(FieldSearchMode searchMode)
Sets the search mode for this field.- Parameters:
searchMode
- search mode- See Also:
FieldSearchMode
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-