Class SQLBuilderBase.ColumnDescriptorBase

java.lang.Object
org.gvsig.fmap.dal.feature.spi.SQLBuilderBase.ColumnDescriptorBase
All Implemented Interfaces:
org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
Enclosing class:
SQLBuilderBase

protected class SQLBuilderBase.ColumnDescriptorBase extends Object implements org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
  • Constructor Details

    • ColumnDescriptorBase

      public ColumnDescriptorBase(String name, int type, Object defaultValue)
    • ColumnDescriptorBase

      public ColumnDescriptorBase(String name, int type, int size, int precision, int scale, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue)
    • ColumnDescriptorBase

      public ColumnDescriptorBase(String name, int type, int size, int precision, int scale, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue, boolean allowIndexDuplicateds)
    • ColumnDescriptorBase

      public ColumnDescriptorBase(String name, int geom_type, int geom_subtype, org.gvsig.crs.projection.lib.Projection proj, boolean isIndexed, boolean allowNulls)
    • ColumnDescriptorBase

      public ColumnDescriptorBase(String name, int geom_type, int geom_subtype, Object srsdbcode, boolean isIndexed, boolean allowNulls)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setName

      public void setName(String name)
      Specified by:
      setName in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • getType

      public int getType()
      Specified by:
      getType in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setType

      public void setType(int type)
      Specified by:
      setType in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • getPrecision

      public int getPrecision()
      Specified by:
      getPrecision in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setPrecision

      public void setPrecision(int precision)
      Specified by:
      setPrecision in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • getScale

      public int getScale()
      Specified by:
      getScale in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setScale

      public void setScale(int scale)
      Specified by:
      setScale in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • getSize

      public int getSize()
      Specified by:
      getSize in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setSize

      public void setSize(int size)
      Specified by:
      setSize in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • isPrimaryKey

      public boolean isPrimaryKey()
      Specified by:
      isPrimaryKey in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setIsPrimaryKey

      public void setIsPrimaryKey(boolean isPk)
      Specified by:
      setIsPrimaryKey in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • allowNulls

      public boolean allowNulls()
      Specified by:
      allowNulls in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setAllowNulls

      public void setAllowNulls(boolean allowNulls)
      Specified by:
      setAllowNulls in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • isAutomatic

      public boolean isAutomatic()
      Specified by:
      isAutomatic in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • isIndexed

      public boolean isIndexed()
      Specified by:
      isIndexed in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setIsAutomatic

      public void setIsAutomatic(boolean isAutomatic)
      Specified by:
      setIsAutomatic in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • getDefaultValue

      public Object getDefaultValue()
      Specified by:
      getDefaultValue in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setDefaultValue

      public void setDefaultValue(Object defaultValue)
      Specified by:
      setDefaultValue in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • getGeometryType

      public int getGeometryType()
      Specified by:
      getGeometryType in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setGeometryType

      public void setGeometryType(int geom_type)
      Specified by:
      setGeometryType in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • getGeometrySubtype

      public int getGeometrySubtype()
      Specified by:
      getGeometrySubtype in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setGeometrySubtype

      public void setGeometrySubtype(int geom_subtype)
      Specified by:
      setGeometrySubtype in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • getGeometrySRSId

      public Object getGeometrySRSId()
      Specified by:
      getGeometrySRSId in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setGeometrySRSId

      public void setGeometrySRSId(Object geom_srsid)
      Specified by:
      setGeometrySRSId in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • isGeometry

      public boolean isGeometry()
      Specified by:
      isGeometry in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • getStoreParameters

      public org.gvsig.fmap.dal.DataStoreParameters getStoreParameters()
      Specified by:
      getStoreParameters in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • getTableBBox

      public org.gvsig.fmap.geom.primitive.Envelope getTableBBox()
      Specified by:
      getTableBBox in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setTableBBox

      public void setTableBBox(org.gvsig.fmap.geom.primitive.Envelope bbox)
      Specified by:
      setTableBBox in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • allowIndexDuplicateds

      public boolean allowIndexDuplicateds()
      Specified by:
      allowIndexDuplicateds in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setAllowIndexDuplicateds

      public void setAllowIndexDuplicateds(boolean allowIndexDuplicateds)
      Specified by:
      setAllowIndexDuplicateds in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • foreignkey

      public void foreignkey(String tableName, String fieldName)
      Specified by:
      foreignkey in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • isForeignKey

      public boolean isForeignKey()
      Specified by:
      isForeignKey in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • getForeignkeyFieldName

      public String getForeignkeyFieldName()
      Specified by:
      getForeignkeyFieldName in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • getForeignkeyTableName

      public String getForeignkeyTableName()
      Specified by:
      getForeignkeyTableName in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • isCategorized

      public boolean isCategorized()
      Specified by:
      isCategorized in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor
    • setCategorized

      public void setCategorized(boolean categorized)
      Specified by:
      setCategorized in interface org.gvsig.fmap.dal.SQLBuilder.ColumnDescriptor