public class MutableColumn extends AbstractColumn implements Serializable
MutableTable,
Relationship,
Serialized Form| Constructor and Description |
|---|
MutableColumn() |
MutableColumn(String name) |
MutableColumn(String name,
ColumnType type) |
MutableColumn(String name,
ColumnType type,
Table table) |
MutableColumn(String name,
ColumnType type,
Table table,
int columnNumber,
Boolean nullable) |
MutableColumn(String name,
ColumnType type,
Table table,
int columnNumber,
Integer columnSize,
String nativeType,
Boolean nullable,
String remarks,
boolean indexed,
String quote) |
MutableColumn(String name,
Table table) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnNumber()
Returns the column number or index.
|
Integer |
getColumnSize()
Gets the data type size of this column.
|
String |
getName()
Gets the name of this Column
|
String |
getNativeType()
Gets the native type of this column.
|
String |
getQuote()
Gets an optional quote string that is used to enclose the name of this
structure.
|
String |
getRemarks()
Gets any remarks/comments to this column.
|
Table |
getTable()
Gets the table for which this column belong
|
ColumnType |
getType()
Gets the type of the column
|
boolean |
isIndexed()
Determines if this column is indexed.
|
Boolean |
isNullable()
Determines whether or not this column accepts null values.
|
boolean |
isPrimaryKey()
Determines if this column is (one of) the primary key(s) of its table.
|
MutableColumn |
setColumnNumber(int columnNumber) |
MutableColumn |
setColumnSize(Integer columnSize) |
MutableColumn |
setIndexed(boolean indexed) |
MutableColumn |
setName(String name) |
MutableColumn |
setNativeType(String nativeType) |
MutableColumn |
setNullable(Boolean nullable) |
MutableColumn |
setPrimaryKey(boolean primaryKey) |
MutableColumn |
setQuote(String quoteString) |
MutableColumn |
setRemarks(String remarks) |
MutableColumn |
setTable(Table table) |
MutableColumn |
setType(ColumnType type) |
compareTo, equals, getQualifiedLabel, getQuotedName, hashCode, toStringpublic MutableColumn()
public MutableColumn(String name)
public MutableColumn(String name, ColumnType type)
public MutableColumn(String name, ColumnType type, Table table)
public MutableColumn(String name, ColumnType type, Table table, int columnNumber, Boolean nullable)
public MutableColumn(String name, ColumnType type, Table table, int columnNumber, Integer columnSize, String nativeType, Boolean nullable, String remarks, boolean indexed, String quote)
public int getColumnNumber()
ColumngetColumnNumber in interface Columnpublic MutableColumn setColumnNumber(int columnNumber)
public String getName()
Columnpublic MutableColumn setName(String name)
public ColumnType getType()
Columnpublic MutableColumn setType(ColumnType type)
public Table getTable()
Columnpublic MutableColumn setTable(Table table)
public Boolean isNullable()
ColumnisNullable in interface Columnpublic MutableColumn setNullable(Boolean nullable)
public String getRemarks()
ColumngetRemarks in interface Columnpublic MutableColumn setRemarks(String remarks)
public Integer getColumnSize()
ColumngetColumnSize in interface Columnpublic MutableColumn setColumnSize(Integer columnSize)
public String getNativeType()
ColumngetNativeType in interface Columnpublic MutableColumn setNativeType(String nativeType)
public boolean isIndexed()
Columnpublic MutableColumn setIndexed(boolean indexed)
public String getQuote()
NamedStructuregetQuote in interface NamedStructurepublic MutableColumn setQuote(String quoteString)
public boolean isPrimaryKey()
ColumnisPrimaryKey in interface Columnpublic MutableColumn setPrimaryKey(boolean primaryKey)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.