public static class PrimitiveValueTypeImpl.IntegerTypeImpl extends PrimitiveValueTypeImpl
PrimitiveValueTypeImpl.BooleanTypeImpl, PrimitiveValueTypeImpl.BytesTypeImpl, PrimitiveValueTypeImpl.DateTypeImpl, PrimitiveValueTypeImpl.DoubleTypeImpl, PrimitiveValueTypeImpl.IntegerTypeImpl, PrimitiveValueTypeImpl.LongTypeImpl, PrimitiveValueTypeImpl.NullTypeImpl, PrimitiveValueTypeImpl.NumberTypeImpl, PrimitiveValueTypeImpl.ShortTypeImpl, PrimitiveValueTypeImpl.StringTypeImpljavaTypename| Constructor and Description |
|---|
IntegerTypeImpl() |
| 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.
|
IntegerValue |
convertFromTypedValue(TypedValue typedValue)
Converts a typed value to a typed value of this type.
|
IntegerValue |
createValue(Object value,
Map<String,Object> valueInfo)
Creates a new TypedValue using this type.
|
ValueType |
getParent()
Gets the parent value type.
|
getJavaType, getValueInfo, isPrimitiveValueType, toStringequals, getName, hashCode, isAbstract, isTransient, unsupportedConversionclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetName, isAbstractpublic IntegerValue createValue(Object value, Map<String,Object> valueInfo)
ValueTypevalue - the valuepublic ValueType getParent()
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()
returns true.
getParent in interface ValueTypegetParent in class AbstractValueTypeImplpublic boolean canConvertFromTypedValue(TypedValue typedValue)
ValueTypecanConvertFromTypedValue in interface ValueTypecanConvertFromTypedValue in class AbstractValueTypeImplpublic IntegerValue convertFromTypedValue(TypedValue typedValue)
ValueTypeValueType.canConvertFromTypedValue(TypedValue)
returns false.convertFromTypedValue in interface ValueTypeconvertFromTypedValue in class AbstractValueTypeImplCopyright © 2021. All rights reserved.