public class ColumnDescription
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_rcsid |
protected boolean |
isNull |
protected boolean |
isPrimaryKey |
protected boolean |
referenceCascade |
protected java.lang.String |
referenceColumn |
protected java.lang.String |
referenceTable |
protected java.lang.String |
typeString |
Constructor and Description |
---|
ColumnDescription(java.lang.String typeString,
boolean isPrimaryKey,
boolean isNull,
java.lang.String referenceTable,
java.lang.String referenceColumn,
boolean referenceCascade)
Create a column type description.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getIsNull() |
boolean |
getIsPrimaryKey() |
boolean |
getReferenceCascade() |
java.lang.String |
getReferenceColumn() |
java.lang.String |
getReferenceTable() |
java.lang.String |
getTypeString() |
public static final java.lang.String _rcsid
protected java.lang.String typeString
protected boolean isPrimaryKey
protected boolean isNull
protected java.lang.String referenceTable
protected java.lang.String referenceColumn
protected boolean referenceCascade
public ColumnDescription(java.lang.String typeString, boolean isPrimaryKey, boolean isNull, java.lang.String referenceTable, java.lang.String referenceColumn, boolean referenceCascade)
typeString
- is a type specificationisPrimaryKey
- describes whether the column is a primary keyisNull
- describes whether the column is nullablereferenceTable
- describes the reference table, if any.referenceCascade
- is true if deletes should be cascaded.
returns a column description object.public java.lang.String getTypeString()
public boolean getIsPrimaryKey()
public boolean getIsNull()
public java.lang.String getReferenceTable()
public java.lang.String getReferenceColumn()
public boolean getReferenceCascade()