public class AttributesColumn extends UserColumn
AUTOINCREMENT_CONSTRAINT_ORDER, DEFAULT_VALUE_CONSTRAINT_ORDER, NO_INDEX, NOT_NULL_CONSTRAINT_ORDER, PRIMARY_KEY_CONSTRAINT_ORDER, UNIQUE_CONSTRAINT_ORDER| Constructor and Description |
|---|
AttributesColumn(AttributesColumn attributesColumn)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
AttributesColumn |
copy()
Copy the column
|
static AttributesColumn |
createColumn(int index,
String name,
GeoPackageDataType type)
Create a new column
|
static AttributesColumn |
createColumn(int index,
String name,
GeoPackageDataType type,
boolean notNull)
Create a new column
|
static AttributesColumn |
createColumn(int index,
String name,
GeoPackageDataType type,
boolean notNull,
Object defaultValue)
Create a new column
|
static AttributesColumn |
createColumn(int index,
String name,
GeoPackageDataType type,
Long max)
Create a new column
|
static AttributesColumn |
createColumn(int index,
String name,
GeoPackageDataType type,
Long max,
boolean notNull,
Object defaultValue)
Create a new column
|
static AttributesColumn |
createColumn(String name,
GeoPackageDataType type)
Create a new column
|
static AttributesColumn |
createColumn(String name,
GeoPackageDataType type,
boolean notNull)
Create a new column
|
static AttributesColumn |
createColumn(String name,
GeoPackageDataType type,
boolean notNull,
Object defaultValue)
Create a new column
|
static AttributesColumn |
createColumn(String name,
GeoPackageDataType type,
Long max)
Create a new column
|
static AttributesColumn |
createColumn(String name,
GeoPackageDataType type,
Long max,
boolean notNull,
Object defaultValue)
Create a new column
|
static AttributesColumn |
createColumn(TableColumn tableColumn)
Create a new column
|
static AttributesColumn |
createPrimaryKeyColumn(int index,
String name)
Create a new primary key column
|
static AttributesColumn |
createPrimaryKeyColumn(int index,
String name,
boolean autoincrement)
Create a new primary key column
|
static AttributesColumn |
createPrimaryKeyColumn(String name)
Create a new primary key column
|
static AttributesColumn |
createPrimaryKeyColumn(String name,
boolean autoincrement)
Create a new primary key column
|
addAutoincrementConstraint, addConstraint, addConstraint, addConstraint, addConstraint, addConstraints, addConstraints, addConstraints, addDefaultConstraints, addDefaultValueConstraint, addNotNullConstraint, addPrimaryKeyConstraint, addUniqueConstraint, buildConstraintSql, clearConstraints, clearConstraints, clearConstraints, compareTo, getConstraints, getConstraints, getDataType, getDefaultValue, getIndex, getMax, getName, getType, getTypeName, hasConstraints, hasConstraints, hasDefaultValue, hasIndex, hasMax, isAutoincrement, isNamed, isNotNull, isPrimaryKey, isUnique, removeAutoincrementConstraint, removeDefaultValueConstraint, removeNotNullConstraint, removePrimaryKeyConstraint, removeUniqueConstraint, resetIndex, setAutoincrement, setConstraintOrder, setDataType, setDefaultValue, setIndex, setMax, setName, setNotNull, setPrimaryKey, setType, setUnique, validateDataTypepublic AttributesColumn(AttributesColumn attributesColumn)
attributesColumn - attributes columnpublic static AttributesColumn createPrimaryKeyColumn(String name)
name - namepublic static AttributesColumn createPrimaryKeyColumn(String name, boolean autoincrement)
name - nameautoincrement - autoincrement flagpublic static AttributesColumn createPrimaryKeyColumn(int index, String name)
index - indexname - namepublic static AttributesColumn createPrimaryKeyColumn(int index, String name, boolean autoincrement)
index - indexname - nameautoincrement - autoincrement flagpublic static AttributesColumn createColumn(String name, GeoPackageDataType type)
name - nametype - data typepublic static AttributesColumn createColumn(int index, String name, GeoPackageDataType type)
index - indexname - nametype - data typepublic static AttributesColumn createColumn(String name, GeoPackageDataType type, boolean notNull)
name - nametype - data typenotNull - not null flagpublic static AttributesColumn createColumn(int index, String name, GeoPackageDataType type, boolean notNull)
index - indexname - nametype - data typenotNull - not null flagpublic static AttributesColumn createColumn(String name, GeoPackageDataType type, boolean notNull, Object defaultValue)
name - nametype - data typenotNull - not null flagdefaultValue - default valuepublic static AttributesColumn createColumn(int index, String name, GeoPackageDataType type, boolean notNull, Object defaultValue)
index - indexname - nametype - data typenotNull - not null flagdefaultValue - default valuepublic static AttributesColumn createColumn(String name, GeoPackageDataType type, Long max)
name - nametype - data typemax - max valuepublic static AttributesColumn createColumn(int index, String name, GeoPackageDataType type, Long max)
index - indexname - nametype - data typemax - max valuepublic static AttributesColumn createColumn(String name, GeoPackageDataType type, Long max, boolean notNull, Object defaultValue)
name - nametype - data typemax - max valuenotNull - not null flagdefaultValue - default valuepublic static AttributesColumn createColumn(int index, String name, GeoPackageDataType type, Long max, boolean notNull, Object defaultValue)
index - indexname - nametype - data typemax - max valuenotNull - not null flagdefaultValue - default valuepublic static AttributesColumn createColumn(TableColumn tableColumn)
tableColumn - table columnpublic AttributesColumn copy()
copy in class UserColumnCopyright © 2021 National Geospatial-Intelligence Agency. All rights reserved.