public final class SingleValue extends ValueNode<Object>
Node.DuplicateNodeAction, Node.NodeType
Session.SessionImpl
Modifier | Constructor and Description |
---|---|
protected |
SingleValue(FieldType type,
Object value) |
protected |
SingleValue(Object value) |
asArray, from, getParentNode, isNotArray, isNotNull, isNotRecord, isNotSingleValue, isNull, isValueNode, nullValue, nullValue, setParentNode
assertNotAncestorOf, containsSessionProperty, containsSessionProperty, containsSessionProperty, copySessionPropertiesFrom, getNodeDepth, getParentField, getParentRecord, getSessionProperty, getSessionProperty, getSessionProperty, isAncestorOf, isChildNode, keySet, setSessionProperty, setSessionProperty, setSessionProperty
protected SingleValue(Object value)
public Node.NodeType getNodeType()
getNodeType
in class Node
public boolean hasChildNodes()
Node
true
if this node contains any sub nodes.hasChildNodes
in class Node
public boolean hasChildRecords()
Node
true
if this node contains any descendant, record nodes.hasChildRecords
in class Node
protected void removeChildNode(Node child)
removeChildNode
in class Node
public boolean isSingleValue()
isSingleValue
in class ValueNode<Object>
public String getValueAsString()
getValueAsString
in class ValueNode<Object>
public Date getValueAsDatetime()
public Date getValueAsDate()
public Time getValueAsTime()
public int getValueAsInteger()
public long getValueAsLong()
public short getValueAsShort()
public byte getValueAsByte()
public boolean getValueAsBoolean()
public char getValueAsChar()
public double getValueAsDouble()
public float getValueAsFloat()
public byte[] getValueAsBytes()
public BigDecimal getValueAsBigDecimal()
public BigInteger getValueAsBigInteger()
public Instant getValueAsInstant()
public LocalDateTime getValueAsLocalDateTime()
public LocalDate getValueAsLocalDate()
public LocalTime getValueAsLocalTime()
public UUID getValueAsUuid()
public long getSizeInBytes()
getSizeInBytes
in class ValueNode<Object>
public SingleValue clone()
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.