|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eobjects.metamodel.schema.AbstractColumn
org.eobjects.metamodel.schema.MutableColumn
public class MutableColumn
Represents a column and it's metadata description. Columns reside within a Table and can be used as keys for relationships between tables.
MutableTable,
Relationship,
Serialized Form| Constructor Summary | |
|---|---|
MutableColumn()
|
|
MutableColumn(String name)
|
|
MutableColumn(String name,
ColumnType type)
|
|
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)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.eobjects.metamodel.schema.AbstractColumn |
|---|
compareTo, equals, getQualifiedLabel, getQuotedName, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MutableColumn()
public MutableColumn(String name)
public MutableColumn(String name,
ColumnType type)
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)
| Method Detail |
|---|
public int getColumnNumber()
Column
getColumnNumber in interface Columnpublic MutableColumn setColumnNumber(int columnNumber)
public String getName()
Column
getName in interface ColumngetName in interface NamedStructuregetName in interface HasNamepublic MutableColumn setName(String name)
public ColumnType getType()
Column
getType in interface Columnpublic MutableColumn setType(ColumnType type)
public Table getTable()
Column
getTable in interface Columnpublic MutableColumn setTable(Table table)
public Boolean isNullable()
Column
isNullable in interface Columnpublic MutableColumn setNullable(Boolean nullable)
public String getRemarks()
Column
getRemarks in interface Columnpublic MutableColumn setRemarks(String remarks)
public Integer getColumnSize()
Column
getColumnSize in interface Columnpublic MutableColumn setColumnSize(Integer columnSize)
public String getNativeType()
Column
getNativeType in interface Columnpublic MutableColumn setNativeType(String nativeType)
public boolean isIndexed()
Column
isIndexed in interface Columnpublic MutableColumn setIndexed(boolean indexed)
public String getQuote()
NamedStructure
getQuote in interface NamedStructurepublic MutableColumn setQuote(String quoteString)
public boolean isPrimaryKey()
Column
isPrimaryKey in interface Columnpublic MutableColumn setPrimaryKey(boolean primaryKey)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||