Package mil.nga.geopackage.attributes
Class AttributesColumn
- java.lang.Object
- 
- mil.nga.geopackage.user.UserColumn
- 
- mil.nga.geopackage.attributes.AttributesColumn
 
 
- 
- All Implemented Interfaces:
- Comparable<UserColumn>
 
 public class AttributesColumn extends UserColumn Attributes column- Since:
- 1.2.1
- Author:
- osbornb
 
- 
- 
Field Summary- 
Fields inherited from class mil.nga.geopackage.user.UserColumnAUTOINCREMENT_CONSTRAINT_ORDER, DEFAULT_VALUE_CONSTRAINT_ORDER, NO_INDEX, NOT_NULL_CONSTRAINT_ORDER, PRIMARY_KEY_CONSTRAINT_ORDER, UNIQUE_CONSTRAINT_ORDER
 
- 
 - 
Constructor SummaryConstructors Constructor Description AttributesColumn(AttributesColumn attributesColumn)Copy Constructor
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributesColumncopy()Copy the columnstatic AttributesColumncreateColumn(int index, String name, GeoPackageDataType type)Create a new columnstatic AttributesColumncreateColumn(int index, String name, GeoPackageDataType type, boolean notNull)Create a new columnstatic AttributesColumncreateColumn(int index, String name, GeoPackageDataType type, boolean notNull, Object defaultValue)Create a new columnstatic AttributesColumncreateColumn(int index, String name, GeoPackageDataType type, Long max)Create a new columnstatic AttributesColumncreateColumn(int index, String name, GeoPackageDataType type, Long max, boolean notNull, Object defaultValue)Create a new columnstatic AttributesColumncreateColumn(String name, GeoPackageDataType type)Create a new columnstatic AttributesColumncreateColumn(String name, GeoPackageDataType type, boolean notNull)Create a new columnstatic AttributesColumncreateColumn(String name, GeoPackageDataType type, boolean notNull, Object defaultValue)Create a new columnstatic AttributesColumncreateColumn(String name, GeoPackageDataType type, Long max)Create a new columnstatic AttributesColumncreateColumn(String name, GeoPackageDataType type, Long max, boolean notNull, Object defaultValue)Create a new columnstatic AttributesColumncreateColumn(TableColumn tableColumn)Create a new columnstatic AttributesColumncreatePrimaryKeyColumn(int index, String name)Create a new primary key columnstatic AttributesColumncreatePrimaryKeyColumn(int index, String name, boolean autoincrement)Create a new primary key columnstatic AttributesColumncreatePrimaryKeyColumn(String name)Create a new primary key columnstatic AttributesColumncreatePrimaryKeyColumn(String name, boolean autoincrement)Create a new primary key column- 
Methods inherited from class mil.nga.geopackage.user.UserColumnaddAutoincrementConstraint, addConstraint, addConstraint, addConstraint, addConstraint, addConstraints, addConstraints, addConstraints, addDefaultConstraints, addDefaultValueConstraint, addNotNullConstraint, addPrimaryKeyConstraint, addUniqueConstraint, buildConstraintSql, clearConstraints, clearConstraints, clearConstraints, compareTo, getConstraints, getConstraints, getDataType, getDefaultValue, getIndex, getMax, getName, getSchema, getType, getTypeName, hasConstraints, hasConstraints, hasDefaultValue, hasIndex, hasMax, hasSchema, isAutoincrement, isNamed, isNotNull, isPrimaryKey, isUnique, removeAutoincrementConstraint, removeDefaultValueConstraint, removeNotNullConstraint, removePrimaryKeyConstraint, removeUniqueConstraint, resetIndex, setAutoincrement, setConstraintOrder, setDataType, setDefaultValue, setIndex, setMax, setName, setNotNull, setPrimaryKey, setSchema, setType, setUnique, validateDataType
 
- 
 
- 
- 
- 
Constructor Detail- 
AttributesColumnpublic AttributesColumn(AttributesColumn attributesColumn) Copy Constructor- Parameters:
- attributesColumn- attributes column
- Since:
- 3.3.0
 
 
- 
 - 
Method Detail- 
createPrimaryKeyColumnpublic static AttributesColumn createPrimaryKeyColumn(String name) Create a new primary key column- Parameters:
- name- name
- Returns:
- attributes column
- Since:
- 3.3.0
 
 - 
createPrimaryKeyColumnpublic static AttributesColumn createPrimaryKeyColumn(String name, boolean autoincrement) Create a new primary key column- Parameters:
- name- name
- autoincrement- autoincrement flag
- Returns:
- attributes column
- Since:
- 4.0.0
 
 - 
createPrimaryKeyColumnpublic static AttributesColumn createPrimaryKeyColumn(int index, String name) Create a new primary key column- Parameters:
- index- index
- name- name
- Returns:
- attributes column
 
 - 
createPrimaryKeyColumnpublic static AttributesColumn createPrimaryKeyColumn(int index, String name, boolean autoincrement) Create a new primary key column- Parameters:
- index- index
- name- name
- autoincrement- autoincrement flag
- Returns:
- attributes column
- Since:
- 4.0.0
 
 - 
createColumnpublic static AttributesColumn createColumn(String name, GeoPackageDataType type) Create a new column- Parameters:
- name- name
- type- data type
- Returns:
- attributes column
- Since:
- 3.3.0
 
 - 
createColumnpublic static AttributesColumn createColumn(int index, String name, GeoPackageDataType type) Create a new column- Parameters:
- index- index
- name- name
- type- data type
- Returns:
- attributes column
- Since:
- 3.3.0
 
 - 
createColumnpublic static AttributesColumn createColumn(String name, GeoPackageDataType type, boolean notNull) Create a new column- Parameters:
- name- name
- type- data type
- notNull- not null flag
- Returns:
- attributes column
- Since:
- 3.3.0
 
 - 
createColumnpublic static AttributesColumn createColumn(int index, String name, GeoPackageDataType type, boolean notNull) Create a new column- Parameters:
- index- index
- name- name
- type- data type
- notNull- not null flag
- Returns:
- attributes column
- Since:
- 3.3.0
 
 - 
createColumnpublic static AttributesColumn createColumn(String name, GeoPackageDataType type, boolean notNull, Object defaultValue) Create a new column- Parameters:
- name- name
- type- data type
- notNull- not null flag
- defaultValue- default value
- Returns:
- attributes column
- Since:
- 3.3.0
 
 - 
createColumnpublic static AttributesColumn createColumn(int index, String name, GeoPackageDataType type, boolean notNull, Object defaultValue) Create a new column- Parameters:
- index- index
- name- name
- type- data type
- notNull- not null flag
- defaultValue- default value
- Returns:
- attributes column
 
 - 
createColumnpublic static AttributesColumn createColumn(String name, GeoPackageDataType type, Long max) Create a new column- Parameters:
- name- name
- type- data type
- max- max value
- Returns:
- attributes column
- Since:
- 3.3.0
 
 - 
createColumnpublic static AttributesColumn createColumn(int index, String name, GeoPackageDataType type, Long max) Create a new column- Parameters:
- index- index
- name- name
- type- data type
- max- max value
- Returns:
- attributes column
- Since:
- 3.3.0
 
 - 
createColumnpublic static AttributesColumn createColumn(String name, GeoPackageDataType type, Long max, boolean notNull, Object defaultValue) Create a new column- Parameters:
- name- name
- type- data type
- max- max value
- notNull- not null flag
- defaultValue- default value
- Returns:
- attributes column
- Since:
- 3.3.0
 
 - 
createColumnpublic static AttributesColumn createColumn(int index, String name, GeoPackageDataType type, Long max, boolean notNull, Object defaultValue) Create a new column- Parameters:
- index- index
- name- name
- type- data type
- max- max value
- notNull- not null flag
- defaultValue- default value
- Returns:
- attributes column
 
 - 
createColumnpublic static AttributesColumn createColumn(TableColumn tableColumn) Create a new column- Parameters:
- tableColumn- table column
- Returns:
- attributes column
- Since:
- 3.3.0
 
 - 
copypublic AttributesColumn copy() Copy the column- Specified by:
- copyin class- UserColumn
- Returns:
- copied column
- Since:
- 3.3.0
 
 
- 
 
-