Class ValueNode
- java.lang.Object
-
- org.apache.cayenne.access.sqlbuilder.sqltree.Node
-
- org.apache.cayenne.access.sqlbuilder.sqltree.ValueNode
-
- Direct Known Subclasses:
DerbyValueNode
public class ValueNode extends Node
- Since:
- 4.2
-
-
Field Summary
-
Fields inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.Node
children, childrenCount, parent, type
-
-
Constructor Summary
Constructors Constructor Description ValueNode(Object value, boolean isArray, DbAttribute attribute)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddValueBinding(QuotingAppendable buffer, Object value)QuotingAppendableappend(QuotingAppendable buffer)protected voidappendNullValue(QuotingAppendable buffer)protected voidappendObjectValue(QuotingAppendable buffer, Object value)protected voidappendStringValue(QuotingAppendable buffer, CharSequence value)Nodecopy()DbAttributegetAttribute()ObjectgetValue()booleanisArray()-
Methods inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.Node
addChild, addChild, appendChildrenEnd, appendChildrenSeparator, appendChildrenStart, deepCopy, getChild, getChildrenCount, getParent, getType, replaceChild, setParent, toString, visit
-
-
-
-
Constructor Detail
-
ValueNode
public ValueNode(Object value, boolean isArray, DbAttribute attribute)
-
-
Method Detail
-
getValue
public Object getValue()
-
getAttribute
public DbAttribute getAttribute()
-
isArray
public boolean isArray()
-
append
public QuotingAppendable append(QuotingAppendable buffer)
-
appendNullValue
protected void appendNullValue(QuotingAppendable buffer)
-
appendObjectValue
protected void appendObjectValue(QuotingAppendable buffer, Object value)
-
appendStringValue
protected void appendStringValue(QuotingAppendable buffer, CharSequence value)
-
addValueBinding
protected void addValueBinding(QuotingAppendable buffer, Object value)
-
-