public static class PrimitiveValueTypeImpl.DoubleTypeImpl extends PrimitiveValueTypeImpl
PrimitiveValueTypeImpl.BooleanTypeImpl, PrimitiveValueTypeImpl.BytesTypeImpl, PrimitiveValueTypeImpl.DateTypeImpl, PrimitiveValueTypeImpl.DoubleTypeImpl, PrimitiveValueTypeImpl.IntegerTypeImpl, PrimitiveValueTypeImpl.LongTypeImpl, PrimitiveValueTypeImpl.NullTypeImpl, PrimitiveValueTypeImpl.NumberTypeImpl, PrimitiveValueTypeImpl.ShortTypeImpl, PrimitiveValueTypeImpl.StringTypeImpl
javaType
name
Constructor and Description |
---|
PrimitiveValueTypeImpl.DoubleTypeImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvertFromTypedValue(TypedValue typedValue)
Determines whether the argument typed value can be converted to a
typed value of this value type.
|
DoubleValue |
convertFromTypedValue(TypedValue typedValue)
Converts a typed value to a typed value of this type.
|
DoubleValue |
createValue(Object value,
Map<String,Object> valueInfo)
Creates a new TypedValue using this type.
|
ValueType |
getParent()
Gets the parent value type.
|
getJavaType, getValueInfo, isPrimitiveValueType, toString
getName, isAbstract, unsupportedConversion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, isAbstract
public PrimitiveValueTypeImpl.DoubleTypeImpl()
public DoubleValue createValue(Object value, Map<String,Object> valueInfo)
ValueType
value
- the valuepublic ValueType getParent()
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
.
getParent
in interface ValueType
getParent
in class AbstractValueTypeImpl
public boolean canConvertFromTypedValue(TypedValue typedValue)
ValueType
canConvertFromTypedValue
in interface ValueType
canConvertFromTypedValue
in class AbstractValueTypeImpl
public DoubleValue convertFromTypedValue(TypedValue typedValue)
ValueType
ValueType.canConvertFromTypedValue(TypedValue)
returns false
.convertFromTypedValue
in interface ValueType
convertFromTypedValue
in class AbstractValueTypeImpl
Copyright © 2018. All rights reserved.