protected class SQLBuilderBase.ColumnDescriptorBuilderBase extends Object implements SQLBuilder.ColumnDescriptorBuilder
| Constructor and Description |
|---|
ColumnDescriptorBuilderBase(String name,
int type,
int type_p,
int type_s,
boolean isPk,
boolean isIndexed,
boolean allowNulls,
boolean isAutomatic,
Object defaultValue) |
ColumnDescriptorBuilderBase(String name,
int geom_type,
int geom_subtype,
IProjection proj,
boolean isIndexed,
boolean allowNulls) |
ColumnDescriptorBuilderBase(String name,
int type,
Object defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowNulls() |
Object |
getDefaultValue() |
int |
getGeometrySRSId() |
int |
getGeometrySubtype() |
int |
getGeometryType() |
String |
getName() |
int |
getPrecision() |
int |
getSize() |
int |
getType() |
boolean |
isAutomatic() |
boolean |
isGeometry() |
boolean |
isIndexed() |
boolean |
isPrimaryKey() |
void |
setAllowNulls(boolean allowNulls) |
void |
setDefaultValue(Object defaultValue) |
void |
setGeometrySRSId(int geom_srsid) |
void |
setGeometrySubtype(int geom_subtype) |
void |
setGeometryType(int geom_type) |
void |
setIsAutomatic(boolean isAutomatic) |
void |
setIsPrimaryKey(boolean isPk) |
void |
setName(String name) |
void |
setPrecision(int precision) |
void |
setSize(int size) |
void |
setType(int type) |
public ColumnDescriptorBuilderBase(String name, int type, Object defaultValue)
public ColumnDescriptorBuilderBase(String name, int type, int type_p, int type_s, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue)
public ColumnDescriptorBuilderBase(String name, int geom_type, int geom_subtype, IProjection proj, boolean isIndexed, boolean allowNulls)
public String getName()
getName in interface SQLBuilder.ColumnDescriptorBuilderpublic void setName(String name)
setName in interface SQLBuilder.ColumnDescriptorBuilderpublic int getType()
getType in interface SQLBuilder.ColumnDescriptorBuilderpublic void setType(int type)
setType in interface SQLBuilder.ColumnDescriptorBuilderpublic int getPrecision()
getPrecision in interface SQLBuilder.ColumnDescriptorBuilderpublic void setPrecision(int precision)
setPrecision in interface SQLBuilder.ColumnDescriptorBuilderpublic int getSize()
getSize in interface SQLBuilder.ColumnDescriptorBuilderpublic void setSize(int size)
setSize in interface SQLBuilder.ColumnDescriptorBuilderpublic boolean isPrimaryKey()
isPrimaryKey in interface SQLBuilder.ColumnDescriptorBuilderpublic void setIsPrimaryKey(boolean isPk)
setIsPrimaryKey in interface SQLBuilder.ColumnDescriptorBuilderpublic boolean allowNulls()
allowNulls in interface SQLBuilder.ColumnDescriptorBuilderpublic void setAllowNulls(boolean allowNulls)
setAllowNulls in interface SQLBuilder.ColumnDescriptorBuilderpublic boolean isAutomatic()
isAutomatic in interface SQLBuilder.ColumnDescriptorBuilderpublic boolean isIndexed()
isIndexed in interface SQLBuilder.ColumnDescriptorBuilderpublic void setIsAutomatic(boolean isAutomatic)
setIsAutomatic in interface SQLBuilder.ColumnDescriptorBuilderpublic Object getDefaultValue()
getDefaultValue in interface SQLBuilder.ColumnDescriptorBuilderpublic void setDefaultValue(Object defaultValue)
setDefaultValue in interface SQLBuilder.ColumnDescriptorBuilderpublic int getGeometryType()
getGeometryType in interface SQLBuilder.ColumnDescriptorBuilderpublic void setGeometryType(int geom_type)
setGeometryType in interface SQLBuilder.ColumnDescriptorBuilderpublic int getGeometrySubtype()
getGeometrySubtype in interface SQLBuilder.ColumnDescriptorBuilderpublic void setGeometrySubtype(int geom_subtype)
setGeometrySubtype in interface SQLBuilder.ColumnDescriptorBuilderpublic int getGeometrySRSId()
getGeometrySRSId in interface SQLBuilder.ColumnDescriptorBuilderpublic void setGeometrySRSId(int geom_srsid)
setGeometrySRSId in interface SQLBuilder.ColumnDescriptorBuilderpublic boolean isGeometry()
isGeometry in interface SQLBuilder.ColumnDescriptorBuilder