org.camunda.bpm.engine.impl.core.variable.type
Class PrimitiveValueTypeImpl.IntegerTypeImpl
java.lang.Object
org.camunda.bpm.engine.impl.core.variable.type.AbstractValueTypeImpl
org.camunda.bpm.engine.impl.core.variable.type.PrimitiveValueTypeImpl
org.camunda.bpm.engine.impl.core.variable.type.PrimitiveValueTypeImpl.IntegerTypeImpl
- All Implemented Interfaces:
- Serializable, PrimitiveValueType, ValueType
- Enclosing class:
- PrimitiveValueTypeImpl
public static class PrimitiveValueTypeImpl.IntegerTypeImpl
- extends PrimitiveValueTypeImpl
- See Also:
- Serialized Form
| Fields inherited from interface org.camunda.bpm.engine.variable.type.ValueType |
BOOLEAN, BYTES, DATE, DOUBLE, INTEGER, LONG, NULL, NUMBER, OBJECT, SHORT, STRING |
PrimitiveValueTypeImpl.IntegerTypeImpl
public PrimitiveValueTypeImpl.IntegerTypeImpl()
createValue
public IntegerValue createValue(Object value,
Map<String,Object> valueInfo)
- Description copied from interface:
ValueType
- Creates a new TypedValue using this type.
- Parameters:
value - the value
- Returns:
- the typed value for the value
getParent
public ValueType getParent()
- Description copied from interface:
ValueType
Gets the parent value type.
Value type hierarchy is only relevant for queries and has the
following meaning: When a value query is made
(e.g. all tasks with a certain variable value), a "child" type's value
also matches a parameter value of the parent type. This is only
supported when the parent value type's implementation of ValueType.isAbstract()
returns true.
- Specified by:
getParent in interface ValueType- Overrides:
getParent in class AbstractValueTypeImpl
canConvertFromTypedValue
public boolean canConvertFromTypedValue(TypedValue typedValue)
- Description copied from interface:
ValueType
- Determines whether the argument typed value can be converted to a
typed value of this value type.
- Specified by:
canConvertFromTypedValue in interface ValueType- Overrides:
canConvertFromTypedValue in class AbstractValueTypeImpl
convertFromTypedValue
public IntegerValue convertFromTypedValue(TypedValue typedValue)
- Description copied from interface:
ValueType
- Converts a typed value to a typed value of this type.
This does not suceed if
ValueType.canConvertFromTypedValue(TypedValue)
returns false.
- Specified by:
convertFromTypedValue in interface ValueType- Overrides:
convertFromTypedValue in class AbstractValueTypeImpl
Copyright © 2015 camunda services GmbH. All rights reserved.