Package com.saperion.ngc.iform
Class FieldResultBean
java.lang.Object
com.saperion.ngc.iform.FieldResultBean
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CustomConditionBean
A bean that represents the value that was entered in a field of a form.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFieldResultBean
(com.saperion.intf.SaPropertyValue propValue, com.saperion.ngc.iform.xml.LimitType limitValue, String databaseFieldName) Constructor.FieldResultBean
(com.saperion.intf.SaPropertyValue propValue, com.saperion.ngc.iform.xml.LimitType limitValue, String databaseFieldName, boolean wasCleared) Constructor.FieldResultBean
(IntelligentField field, com.saperion.intf.SaValue[] values, boolean wasCleared) Constructor for field-usage.FieldResultBean
(String name, String databaseFieldName, com.saperion.ngc.iform.xml.LimitType limitValue, com.saperion.intf.SaValue[] values, int type, boolean multi) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal String
final String
final int
final com.saperion.ngc.iform.xml.LimitType
getLimit()
final com.saperion.intf.SaValue[]
getValue()
final boolean
final boolean
void
setSearchMode
(FieldSearchMode searchMode) Sets the search mode for this field.toString()
-
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
- 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, 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, String databaseFieldName, boolean wasCleared) Constructor.- Parameters:
propValue
- Property valuelimitValue
- LimitdatabaseFieldName
- The name of the database field namewasCleared
- field was cleared
-
-
Method Details
-
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
- 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
- Returns:
- search mode for this field
- See Also:
-
setSearchMode
Sets the search mode for this field.- Parameters:
searchMode
- search mode- See Also:
-
toString
-