public final class SingleValue extends ValueNode<Object>
Node.DuplicateNodeAction, Node.NodeTypeSession.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, setParentNodeassertNotAncestorOf, containsSessionProperty, containsSessionProperty, containsSessionProperty, copySessionPropertiesFrom, getNodeDepth, getParentField, getParentRecord, getSessionProperty, getSessionProperty, getSessionProperty, isAncestorOf, isChildNode, keySet, setSessionProperty, setSessionProperty, setSessionPropertyprotected SingleValue(Object value)
public Node.NodeType getNodeType()
getNodeType in class Nodepublic boolean hasChildNodes()
Nodetrue if this node contains any sub nodes.hasChildNodes in class Nodepublic boolean hasChildRecords()
Nodetrue if this node contains any descendant, record nodes.hasChildRecords in class Nodeprotected void removeChildNode(Node child)
removeChildNode in class Nodepublic 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-2025 North Concepts Inc. All Rights Reserved.