public class ColumnDescription extends Object
Modifier and Type | Field and Description |
---|---|
static String |
_rcsid |
protected boolean |
isNull |
protected boolean |
isPrimaryKey |
protected boolean |
referenceCascade |
protected String |
referenceColumn |
protected String |
referenceTable |
protected String |
typeString |
Constructor and Description |
---|
ColumnDescription(String typeString,
boolean isPrimaryKey,
boolean isNull,
String referenceTable,
String referenceColumn,
boolean referenceCascade)
Create a column type description.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getIsNull() |
boolean |
getIsPrimaryKey() |
boolean |
getReferenceCascade() |
String |
getReferenceColumn() |
String |
getReferenceTable() |
String |
getTypeString() |
public static final String _rcsid
protected String typeString
protected boolean isPrimaryKey
protected boolean isNull
protected String referenceTable
protected String referenceColumn
protected boolean referenceCascade
public ColumnDescription(String typeString, boolean isPrimaryKey, boolean isNull, String referenceTable, 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 String getTypeString()
public boolean getIsPrimaryKey()
public boolean getIsNull()
public String getReferenceTable()
public String getReferenceColumn()
public boolean getReferenceCascade()