public abstract class TableConstraint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
columns |
protected java.lang.String |
constraintName |
protected int |
constraintOrder |
protected java.lang.String |
tableName |
Constructor and Description |
---|
TableConstraint(java.lang.String constraintName,
java.lang.String[] columns) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
generateConstraintName() |
void |
setCounterForAutoGenName(int counter) |
void |
setTableNameForAutoGenName(java.lang.String tableName) |
java.lang.String |
toString() |
protected final java.lang.String[] columns
protected final java.lang.String constraintName
protected int constraintOrder
protected java.lang.String tableName
public TableConstraint(java.lang.String constraintName, java.lang.String[] columns)
public final void setCounterForAutoGenName(int counter)
public final void setTableNameForAutoGenName(java.lang.String tableName)
protected final java.lang.String generateConstraintName()
public java.lang.String toString()
toString
in class java.lang.Object