Class AbstractValueTypeImpl
java.lang.Object
org.camunda.bpm.engine.variable.impl.type.AbstractValueTypeImpl
- All Implemented Interfaces:
Serializable,ValueType
- Direct Known Subclasses:
FileValueTypeImpl,ObjectTypeImpl,PrimitiveValueTypeImpl,SpinValueTypeImpl
- Author:
- Thorben Lindhauer
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvertFromTypedValue(TypedValue typedValue) Determines whether the argument typed value can be converted to a typed value of this value type.convertFromTypedValue(TypedValue typedValue) Converts a typed value to a typed value of this type.booleangetName()Returns the name of the variable typeGets the parent value type.inthashCode()booleanReturns whether the value type is abstract.protected BooleanisTransient(Map<String, Object> valueInfo) toString()protected IllegalArgumentExceptionunsupportedConversion(ValueType typeToConvertTo) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.variable.type.ValueType
createValue, getValueInfo, isPrimitiveValueType
-
Field Details
-
name
-
-
Constructor Details
-
AbstractValueTypeImpl
-
-
Method Details
-
getName
Description copied from interface:ValueTypeReturns the name of the variable type -
toString
-
isAbstract
public boolean isAbstract()Description copied from interface:ValueTypeReturns whether the value type is abstract. This is not related to the term abstract in the Java language.
Abstract value types cannot be used as types for variables but only used for querying.- Specified by:
isAbstractin interfaceValueType
-
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. -
canConvertFromTypedValue
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
-
convertFromTypedValue
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
-
unsupportedConversion
-
hashCode
public int hashCode() -
equals
-
isTransient
-