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 |
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 - name - max - notNull - defaultValue - primaryKey - dataType - public int getIndex()
public String getName()
public 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.