protected class SQLBuilderBase.ColumnDescriptorBase extends java.lang.Object implements SQLBuilder.ColumnDescriptor
Constructor and Description |
---|
ColumnDescriptorBase(java.lang.String name,
int type,
int size,
int precision,
int scale,
boolean isPk,
boolean isIndexed,
boolean allowNulls,
boolean isAutomatic,
java.lang.Object defaultValue) |
ColumnDescriptorBase(java.lang.String name,
int type,
int size,
int precision,
int scale,
boolean isPk,
boolean isIndexed,
boolean allowNulls,
boolean isAutomatic,
java.lang.Object defaultValue,
boolean allowIndexDuplicateds) |
ColumnDescriptorBase(java.lang.String name,
int geom_type,
int geom_subtype,
IProjection proj,
boolean isIndexed,
boolean allowNulls) |
ColumnDescriptorBase(java.lang.String name,
int geom_type,
int geom_subtype,
java.lang.Object srsdbcode,
boolean isIndexed,
boolean allowNulls) |
ColumnDescriptorBase(java.lang.String name,
int type,
java.lang.Object defaultValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowIndexDuplicateds() |
boolean |
allowNulls() |
java.lang.Object |
getDefaultValue() |
java.lang.Object |
getGeometrySRSId() |
int |
getGeometrySubtype() |
int |
getGeometryType() |
java.lang.String |
getName() |
int |
getPrecision() |
int |
getScale() |
int |
getSize() |
DataStoreParameters |
getStoreParameters() |
Envelope |
getTableBBox() |
int |
getType() |
boolean |
isAutomatic() |
boolean |
isGeometry() |
boolean |
isIndexed() |
boolean |
isPrimaryKey() |
void |
setAllowIndexDuplicateds(boolean allowIndexDuplicateds) |
void |
setAllowNulls(boolean allowNulls) |
void |
setDefaultValue(java.lang.Object defaultValue) |
void |
setGeometrySRSId(java.lang.Object geom_srsid) |
void |
setGeometrySubtype(int geom_subtype) |
void |
setGeometryType(int geom_type) |
void |
setIsAutomatic(boolean isAutomatic) |
void |
setIsPrimaryKey(boolean isPk) |
void |
setName(java.lang.String name) |
void |
setPrecision(int precision) |
void |
setScale(int scale) |
void |
setSize(int size) |
void |
setTableBBox(Envelope bbox) |
void |
setType(int type) |
public ColumnDescriptorBase(java.lang.String name, int type, java.lang.Object defaultValue)
public ColumnDescriptorBase(java.lang.String name, int type, int size, int precision, int scale, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, java.lang.Object defaultValue)
public ColumnDescriptorBase(java.lang.String name, int type, int size, int precision, int scale, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, java.lang.Object defaultValue, boolean allowIndexDuplicateds)
public ColumnDescriptorBase(java.lang.String name, int geom_type, int geom_subtype, IProjection proj, boolean isIndexed, boolean allowNulls)
public ColumnDescriptorBase(java.lang.String name, int geom_type, int geom_subtype, java.lang.Object srsdbcode, boolean isIndexed, boolean allowNulls)
public java.lang.String getName()
getName
in interface SQLBuilder.ColumnDescriptor
public void setName(java.lang.String name)
setName
in interface SQLBuilder.ColumnDescriptor
public int getType()
getType
in interface SQLBuilder.ColumnDescriptor
public void setType(int type)
setType
in interface SQLBuilder.ColumnDescriptor
public int getPrecision()
getPrecision
in interface SQLBuilder.ColumnDescriptor
public void setPrecision(int precision)
setPrecision
in interface SQLBuilder.ColumnDescriptor
public int getScale()
getScale
in interface SQLBuilder.ColumnDescriptor
public void setScale(int scale)
setScale
in interface SQLBuilder.ColumnDescriptor
public int getSize()
getSize
in interface SQLBuilder.ColumnDescriptor
public void setSize(int size)
setSize
in interface SQLBuilder.ColumnDescriptor
public boolean isPrimaryKey()
isPrimaryKey
in interface SQLBuilder.ColumnDescriptor
public void setIsPrimaryKey(boolean isPk)
setIsPrimaryKey
in interface SQLBuilder.ColumnDescriptor
public boolean allowNulls()
allowNulls
in interface SQLBuilder.ColumnDescriptor
public void setAllowNulls(boolean allowNulls)
setAllowNulls
in interface SQLBuilder.ColumnDescriptor
public boolean isAutomatic()
isAutomatic
in interface SQLBuilder.ColumnDescriptor
public boolean isIndexed()
isIndexed
in interface SQLBuilder.ColumnDescriptor
public void setIsAutomatic(boolean isAutomatic)
setIsAutomatic
in interface SQLBuilder.ColumnDescriptor
public java.lang.Object getDefaultValue()
getDefaultValue
in interface SQLBuilder.ColumnDescriptor
public void setDefaultValue(java.lang.Object defaultValue)
setDefaultValue
in interface SQLBuilder.ColumnDescriptor
public int getGeometryType()
getGeometryType
in interface SQLBuilder.ColumnDescriptor
public void setGeometryType(int geom_type)
setGeometryType
in interface SQLBuilder.ColumnDescriptor
public int getGeometrySubtype()
getGeometrySubtype
in interface SQLBuilder.ColumnDescriptor
public void setGeometrySubtype(int geom_subtype)
setGeometrySubtype
in interface SQLBuilder.ColumnDescriptor
public java.lang.Object getGeometrySRSId()
getGeometrySRSId
in interface SQLBuilder.ColumnDescriptor
public void setGeometrySRSId(java.lang.Object geom_srsid)
setGeometrySRSId
in interface SQLBuilder.ColumnDescriptor
public boolean isGeometry()
isGeometry
in interface SQLBuilder.ColumnDescriptor
public DataStoreParameters getStoreParameters()
getStoreParameters
in interface SQLBuilder.ColumnDescriptor
public Envelope getTableBBox()
getTableBBox
in interface SQLBuilder.ColumnDescriptor
public void setTableBBox(Envelope bbox)
setTableBBox
in interface SQLBuilder.ColumnDescriptor
public boolean allowIndexDuplicateds()
allowIndexDuplicateds
in interface SQLBuilder.ColumnDescriptor
public void setAllowIndexDuplicateds(boolean allowIndexDuplicateds)
setAllowIndexDuplicateds
in interface SQLBuilder.ColumnDescriptor