Class ValueNode
java.lang.Object
org.apache.cayenne.access.sqlbuilder.sqltree.Node
org.apache.cayenne.access.sqlbuilder.sqltree.ValueNode
- Direct Known Subclasses:
DerbyValueNode
- Since:
- 4.2
-
Field Summary
Fields inherited from class Node
children, childrenCount, parent, type -
Constructor Summary
ConstructorsConstructorDescriptionValueNode(Object value, boolean isArray, DbAttribute attribute, boolean needBinding) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddValueBinding(SQLGenerationContext context, Object value) append(SQLAppendable buffer, SQLGenerationContext context) protected voidappendNullValue(SQLAppendable buffer) protected voidappendObjectValue(SQLAppendable buffer, SQLGenerationContext context, Object value) protected voidappendStringValue(SQLAppendable buffer, SQLGenerationContext context, CharSequence value) copy()booleangetValue()inthashCode()booleanisArray()booleanMethods inherited from class Node
addChild, addChild, appendChildrenEnd, appendChildrenSeparator, appendChildrenStart, deepCopy, deepEquals, getChild, getChildrenCount, getParent, getType, replaceChild, setParent, toString, visit
-
Constructor Details
-
ValueNode
-
-
Method Details
-
getValue
-
getAttribute
-
isArray
public boolean isArray() -
append
-
appendNullValue
-
appendObjectValue
-
appendStringValue
protected void appendStringValue(SQLAppendable buffer, SQLGenerationContext context, CharSequence value) -
addValueBinding
-
copy
-
isNeedBinding
public boolean isNeedBinding() -
equals
-
hashCode
-