public class ConstraintDefinitionNode extends TableElementNode
Modifier and Type | Class and Description |
---|---|
static class |
ConstraintDefinitionNode.ConstraintType |
TableElementNode.ElementType
Modifier and Type | Field and Description |
---|---|
protected ConstraintDefinitionNode.ConstraintType |
constraintType |
protected java.util.Properties |
properties |
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
ConstraintDefinitionNode() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
ResultColumnList |
getColumnList()
Get the column list
|
ConstraintDefinitionNode.ConstraintType |
getConstraintType()
Get the constraint type
|
java.util.Properties |
getProperties()
Get the optional properties for the backing index to this constraint.
|
ConstraintDefinitionNode.ConstraintType |
getVerifyType()
Get the verify constraint type.
|
void |
init(java.lang.Object constraintName,
java.lang.Object constraintType,
java.lang.Object rcl,
java.lang.Object properties,
java.lang.Object checkCondition,
java.lang.Object constraintText)
Initialize a query tree node.
|
void |
init(java.lang.Object constraintName,
java.lang.Object constraintType,
java.lang.Object rcl,
java.lang.Object properties,
java.lang.Object checkCondition,
java.lang.Object constraintText,
java.lang.Object behavior)
Initialize a query tree node.
|
void |
init(java.lang.Object constraintName,
java.lang.Object constraintType,
java.lang.Object rcl,
java.lang.Object properties,
java.lang.Object checkCondition,
java.lang.Object constraintText,
java.lang.Object behavior,
java.lang.Object verifyType)
Initialize a query tree node.
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
void |
setProperties(java.util.Properties properties)
Set the optional properties for the backing index to this constraint.
|
java.lang.String |
toString()
Convert this object to a String.
|
getName, init, init
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
protected ConstraintDefinitionNode.ConstraintType constraintType
protected java.util.Properties properties
public void init(java.lang.Object constraintName, java.lang.Object constraintType, java.lang.Object rcl, java.lang.Object properties, java.lang.Object checkCondition, java.lang.Object constraintText, java.lang.Object behavior)
QueryTreeNode
init
in class QueryTreeNode
public void init(java.lang.Object constraintName, java.lang.Object constraintType, java.lang.Object rcl, java.lang.Object properties, java.lang.Object checkCondition, java.lang.Object constraintText)
QueryTreeNode
init
in class QueryTreeNode
public void init(java.lang.Object constraintName, java.lang.Object constraintType, java.lang.Object rcl, java.lang.Object properties, java.lang.Object checkCondition, java.lang.Object constraintText, java.lang.Object behavior, java.lang.Object verifyType)
QueryTreeNode
init
in class QueryTreeNode
public void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class TableElementNode
StandardException
public ConstraintDefinitionNode.ConstraintType getConstraintType()
public ConstraintDefinitionNode.ConstraintType getVerifyType()
public ResultColumnList getColumnList()
public void setProperties(java.util.Properties properties)
properties
- The optional Properties for this constraint.public java.util.Properties getProperties()
public java.lang.String toString()
toString
in class TableElementNode
public void printSubNodes(int depth)
printSubNodes
in class QueryTreeNode
depth
- The depth to indent the sub-nodesCopyright © 2013. All Rights Reserved.