Class PrimitiveValueTypeImpl.ShortTypeImpl
- java.lang.Object
-
- org.camunda.bpm.engine.variable.impl.type.AbstractValueTypeImpl
-
- org.camunda.bpm.engine.variable.impl.type.PrimitiveValueTypeImpl
-
- org.camunda.bpm.engine.variable.impl.type.PrimitiveValueTypeImpl.ShortTypeImpl
-
- All Implemented Interfaces:
java.io.Serializable,PrimitiveValueType,ValueType
- Enclosing class:
- PrimitiveValueTypeImpl
public static class PrimitiveValueTypeImpl.ShortTypeImpl extends PrimitiveValueTypeImpl
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.variable.impl.type.PrimitiveValueTypeImpl
PrimitiveValueTypeImpl.BooleanTypeImpl, PrimitiveValueTypeImpl.BytesTypeImpl, PrimitiveValueTypeImpl.DateTypeImpl, PrimitiveValueTypeImpl.DoubleTypeImpl, PrimitiveValueTypeImpl.IntegerTypeImpl, PrimitiveValueTypeImpl.LongTypeImpl, PrimitiveValueTypeImpl.NullTypeImpl, PrimitiveValueTypeImpl.NumberTypeImpl, PrimitiveValueTypeImpl.ShortTypeImpl, PrimitiveValueTypeImpl.StringTypeImpl
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.variable.impl.type.PrimitiveValueTypeImpl
javaType
-
Fields inherited from class org.camunda.bpm.engine.variable.impl.type.AbstractValueTypeImpl
name
-
-
Constructor Summary
Constructors Constructor Description ShortTypeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanConvertFromTypedValue(TypedValue typedValue)Determines whether the argument typed value can be converted to a typed value of this value type.ShortValueconvertFromTypedValue(TypedValue typedValue)Converts a typed value to a typed value of this type.ShortValuecreateValue(java.lang.Object value, java.util.Map<java.lang.String,java.lang.Object> valueInfo)Creates a new TypedValue using this type.ValueTypegetParent()Gets the parent value type.-
Methods inherited from class org.camunda.bpm.engine.variable.impl.type.PrimitiveValueTypeImpl
getJavaType, getValueInfo, isPrimitiveValueType, toString
-
Methods inherited from class org.camunda.bpm.engine.variable.impl.type.AbstractValueTypeImpl
equals, getName, hashCode, isAbstract, isTransient, unsupportedConversion
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.variable.type.ValueType
getName, isAbstract
-
-
-
-
Method Detail
-
createValue
public ShortValue createValue(java.lang.Object value, java.util.Map<java.lang.String,java.lang.Object> valueInfo)
Description copied from interface:ValueTypeCreates 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:ValueTypeGets 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()returnstrue.- Specified by:
getParentin interfaceValueType- Overrides:
getParentin classAbstractValueTypeImpl
-
convertFromTypedValue
public ShortValue convertFromTypedValue(TypedValue typedValue)
Description copied from interface:ValueTypeConverts a typed value to a typed value of this type. This does not suceed ifValueType.canConvertFromTypedValue(TypedValue)returnsfalse.- Specified by:
convertFromTypedValuein interfaceValueType- Overrides:
convertFromTypedValuein classAbstractValueTypeImpl
-
canConvertFromTypedValue
public boolean canConvertFromTypedValue(TypedValue typedValue)
Description copied from interface:ValueTypeDetermines whether the argument typed value can be converted to a typed value of this value type.- Specified by:
canConvertFromTypedValuein interfaceValueType- Overrides:
canConvertFromTypedValuein classAbstractValueTypeImpl
-
-