public abstract class UserColumn extends Object implements Comparable<UserColumn>
| Modifier | Constructor and Description |
|---|---|
protected |
UserColumn(int index,
String name,
GeoPackageDataType dataType,
Long max,
boolean notNull,
Object defaultValue,
boolean primaryKey)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(UserColumn another)
Sort by index
|
GeoPackageDataType |
getDataType()
When not a geometry column, gets the data type
|
Object |
getDefaultValue()
Get the default value
|
int |
getIndex()
Get the index
|
Long |
getMax()
Get the max
|
String |
getName()
Get the name
|
String |
getTypeName()
Get the database type name
|
boolean |
isNamed(String name)
Determine if this column is named the provided name
|
boolean |
isNotNull()
Get the is not null flag
|
boolean |
isPrimaryKey()
Get the primary key flag
|
protected UserColumn(int index,
String name,
GeoPackageDataType dataType,
Long max,
boolean notNull,
Object defaultValue,
boolean primaryKey)
index - column indexname - column namedataType - data typemax - max valuenotNull - not null flagdefaultValue - default valueprimaryKey - primary key flagpublic int getIndex()
public String getName()
public boolean isNamed(String name)
name - column namepublic Long getMax()
public boolean isNotNull()
public Object getDefaultValue()
public boolean isPrimaryKey()
public GeoPackageDataType getDataType()
public String getTypeName()
public int compareTo(UserColumn another)
compareTo in interface Comparable<UserColumn>Copyright © 2018 National Geospatial-Intelligence Agency. All rights reserved.