public class Column extends Object
Constructor and Description |
---|
Column() |
Modifier and Type | Method and Description |
---|---|
void |
addEnumValue(String value) |
void |
addMetaAttribute(MetaAttribute metaAttribute) |
boolean |
candidateForH2Identity() |
Boolean |
getAutoIncrement()
Is Auto Increment?
|
String |
getColumnDef()
Default value
|
int |
getDecimalDigits()
The number of fractional digits
|
Set<String> |
getEnumValues()
Enum values if the column represents an enum
|
String |
getH2() |
Set<MetaAttribute> |
getMetaAttributes()
Enum values if the column represents an enum
|
String |
getName()
Column name
|
int |
getOrdinalPosition()
Index of column in table (starting at 1)
|
String |
getRemarks()
Comment describing the column
|
int |
getSize()
Column size.
|
JdbcType |
getType()
This column jdbc type
|
boolean |
hasEnum() |
boolean |
hasMetaAttribute() |
boolean |
isNullable()
Is NULL allowed ?
|
void |
removeEnumValues() |
void |
removeMetaAttributes() |
void |
setAutoIncrement(Boolean autoIncrement) |
void |
setColumnDef(String columnDef) |
void |
setDecimalDigits(int decimalDigits) |
void |
setEnumValues(Set<String> enumValues) |
void |
setMetaAttributes(Set<MetaAttribute> metaAttributes) |
void |
setName(String name) |
void |
setNullable(boolean nullable) |
void |
setOrdinalPosition(int ordinalPosition) |
void |
setRemarks(String remarks) |
void |
setSize(int size) |
void |
setType(JdbcType type) |
public String getColumnDef()
public int getDecimalDigits()
public String getName()
public Boolean getAutoIncrement()
public boolean isNullable()
public int getOrdinalPosition()
public String getRemarks()
public int getSize()
public JdbcType getType()
public void removeEnumValues()
public boolean hasEnum()
public void addEnumValue(String value)
public Set<MetaAttribute> getMetaAttributes()
public void setMetaAttributes(Set<MetaAttribute> metaAttributes)
public void removeMetaAttributes()
public boolean hasMetaAttribute()
public void addMetaAttribute(MetaAttribute metaAttribute)
public boolean candidateForH2Identity()
public String getH2()
public void setColumnDef(String columnDef)
public void setDecimalDigits(int decimalDigits)
public void setName(String name)
public void setAutoIncrement(Boolean autoIncrement)
public void setNullable(boolean nullable)
public void setOrdinalPosition(int ordinalPosition)
public void setRemarks(String remarks)
public void setSize(int size)
public void setType(JdbcType type)
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.