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.ColumnDescriptorBuilder
public void setName(String name)
setName
in interface SQLBuilder.ColumnDescriptorBuilder
public int getType()
getType
in interface SQLBuilder.ColumnDescriptorBuilder
public void setType(int type)
setType
in interface SQLBuilder.ColumnDescriptorBuilder
public int getPrecision()
getPrecision
in interface SQLBuilder.ColumnDescriptorBuilder
public void setPrecision(int precision)
setPrecision
in interface SQLBuilder.ColumnDescriptorBuilder
public int getSize()
getSize
in interface SQLBuilder.ColumnDescriptorBuilder
public void setSize(int size)
setSize
in interface SQLBuilder.ColumnDescriptorBuilder
public boolean isPrimaryKey()
isPrimaryKey
in interface SQLBuilder.ColumnDescriptorBuilder
public void setIsPrimaryKey(boolean isPk)
setIsPrimaryKey
in interface SQLBuilder.ColumnDescriptorBuilder
public boolean allowNulls()
allowNulls
in interface SQLBuilder.ColumnDescriptorBuilder
public void setAllowNulls(boolean allowNulls)
setAllowNulls
in interface SQLBuilder.ColumnDescriptorBuilder
public boolean isAutomatic()
isAutomatic
in interface SQLBuilder.ColumnDescriptorBuilder
public boolean isIndexed()
isIndexed
in interface SQLBuilder.ColumnDescriptorBuilder
public void setIsAutomatic(boolean isAutomatic)
setIsAutomatic
in interface SQLBuilder.ColumnDescriptorBuilder
public Object getDefaultValue()
getDefaultValue
in interface SQLBuilder.ColumnDescriptorBuilder
public void setDefaultValue(Object defaultValue)
setDefaultValue
in interface SQLBuilder.ColumnDescriptorBuilder
public int getGeometryType()
getGeometryType
in interface SQLBuilder.ColumnDescriptorBuilder
public void setGeometryType(int geom_type)
setGeometryType
in interface SQLBuilder.ColumnDescriptorBuilder
public int getGeometrySubtype()
getGeometrySubtype
in interface SQLBuilder.ColumnDescriptorBuilder
public void setGeometrySubtype(int geom_subtype)
setGeometrySubtype
in interface SQLBuilder.ColumnDescriptorBuilder
public int getGeometrySRSId()
getGeometrySRSId
in interface SQLBuilder.ColumnDescriptorBuilder
public void setGeometrySRSId(int geom_srsid)
setGeometrySRSId
in interface SQLBuilder.ColumnDescriptorBuilder
public boolean isGeometry()
isGeometry
in interface SQLBuilder.ColumnDescriptorBuilder