java.lang.Object
io.xpipe.core.data.node.DataStructureNode
io.xpipe.core.data.node.ValueNode
- All Implemented Interfaces:
Iterable<DataStructureNode>
- Direct Known Subclasses:
SimpleValueNode
-
Nested Class Summary
Nested classes/interfaces inherited from class io.xpipe.core.data.node.DataStructureNode
DataStructureNode.KeyValue -
Field Summary
Fields inherited from class io.xpipe.core.data.node.DataStructureNode
BOOLEAN_FALSE, BOOLEAN_TRUE, CURRENCY_CODE, DATE_VALUE, DECIMAL_VALUE, INTEGER_VALUE, IS_BINARY, IS_BOOLEAN, IS_CURRENCY, IS_DATE, IS_DECIMAL, IS_INSTANT, IS_INTEGER, IS_NULL, IS_TEXT, KEY_ROW_NAME, KEY_TABLE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intasInt()final DataTypebooleanprotected final StringgetName()abstract byte[]inthashCode()final booleanisValue()static ValueNodestatic ValueNodeof(byte[] data) static ValueNodestatic ValueNodestatic ValueNodeofBytes(byte[] data) static ValueNodeofCurrency(String raw, String decimal, Currency currency) static ValueNodestatic ValueNodeofDecimal(double decimal) static ValueNodestatic ValueNodestatic ValueNodeofDecimal(BigDecimal decimal) static ValueNodeofInteger(int integer) static ValueNodestatic ValueNodestatic ValueNodeofInteger(BigInteger integer) static ValueNodeMethods inherited from class io.xpipe.core.data.node.DataStructureNode
asArray, asString, asTuple, asValue, at, clear, clearMetaAttributes, forEach, forKey, forKeyIfPresent, getKeyNames, getKeyValuePairs, getMetaAttribute, getMetaAttributes, getNodes, hasMetaAttribute, isArray, isMutable, isTuple, iterator, keyNameAt, metaToString, mutable, put, put, remove, remove, set, size, spliterator, stream, tag, tag, tag, toString, toString, unsupported
-
Constructor Details
-
ValueNode
protected ValueNode()
-
-
Method Details
-
nullValue
-
of
-
ofDate
-
ofDecimal
-
ofDecimal
-
ofInteger
-
ofInteger
-
ofCurrency
-
ofBytes
-
ofText
-
ofInteger
-
ofInteger
-
ofDecimal
-
ofDecimal
-
ofBoolean
-
of
-
equals
-
hashCode
public int hashCode() -
asInt
public final int asInt()- Overrides:
asIntin classDataStructureNode
-
isValue
public final boolean isValue()- Overrides:
isValuein classDataStructureNode
-
getName
- Specified by:
getNamein classDataStructureNode
-
determineDataType
- Specified by:
determineDataTypein classDataStructureNode
-
getRawData
public abstract byte[] getRawData()
-