@Named(value="org.jbpm.formModeler.core.processing.fieldHandlers.NumericFieldHandler") public class NumericFieldHandler extends DefaultFieldHandler
Modifier and Type | Class and Description |
---|---|
class |
NumericFieldHandler.EmptyNumberException |
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_MAX_VALUE |
Constructor and Description |
---|
NumericFieldHandler() |
Modifier and Type | Method and Description |
---|---|
protected String[] |
buildParamValue(Object value,
String pattern)
Builds a correct paramValue for a given inputValue.
|
String[] |
getCompatibleClassNames()
Determine the list of class types this field can generate.
|
Map |
getParamValue(String inputName,
Object objectValue,
String pattern)
Determine the value as a parameter map for a given input value.
|
Object |
getTheValue(org.jbpm.formModeler.api.model.Field field,
String[] paramValue,
String desiredClassName) |
Object |
getValue(org.jbpm.formModeler.api.model.Field field,
String inputName,
Map parametersMap,
Map filesMap,
String desiredClassName,
Object previousValue)
Read a parameter value (normally from a request), and translate it to
an object with desired class (that must be one of the returned by this handler)
|
boolean |
isEmpty(Object value) |
getFieldHandlersManager, getFormManager, getFormProcessor, getFormStatusManager, getFunctionsProvider, getName, getNamespaceManager, getReplacementManager
checkBooleanParameter, getFieldName, getPageToIncludeForDisplaying, getPageToIncludeForRendering, getPageToIncludeForSearching, initialize, isEvaluable
public static final boolean DEFAULT_MAX_VALUE
public Object getValue(org.jbpm.formModeler.api.model.Field field, String inputName, Map parametersMap, Map filesMap, String desiredClassName, Object previousValue) throws Exception
Exception
public Object getTheValue(org.jbpm.formModeler.api.model.Field field, String[] paramValue, String desiredClassName) throws Exception
Exception
public Map getParamValue(String inputName, Object objectValue, String pattern)
objectValue
- Object value to representpattern
- Pattern to apply if anyprotected String[] buildParamValue(Object value, String pattern)
value
- Object value to build its paramValuepattern
- pattern to apply if anypublic String[] getCompatibleClassNames()
public boolean isEmpty(Object value)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.