public class MappedColumn extends Object
| Constructor and Description |
|---|
MappedColumn(String toColumn)
Constructor
|
MappedColumn(String toColumn,
Object defaultValue,
GeoPackageDataType dataType)
Constructor
|
MappedColumn(String toColumn,
String fromColumn)
Constructor
|
MappedColumn(String toColumn,
String fromColumn,
Object defaultValue,
GeoPackageDataType dataType)
Constructor
|
MappedColumn(TableColumn column)
Constructor
|
MappedColumn(UserColumn column)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getConstantValue()
Get the constant value
|
String |
getConstantValueAsString()
Get the constant value as a string
|
GeoPackageDataType |
getDataType()
Get the data type
|
Object |
getDefaultValue()
Get the default value
|
String |
getDefaultValueAsString()
Get the default value as a string
|
String |
getFromColumn()
Get the from column
|
String |
getToColumn()
Get the to column
|
String |
getWhereOperator()
Get the where operator
|
Object |
getWhereValue()
Get the where value
|
String |
getWhereValueAsString()
Get the where value as a string
|
boolean |
hasConstantValue()
Check if the column has a constant value
|
boolean |
hasDefaultValue()
Check if the column has a default value
|
boolean |
hasNewName()
Determine if the column has a new name
|
boolean |
hasWhereValue()
Check if the column has a where value
|
void |
setConstantValue(Object constantValue)
Set the constant value
|
void |
setDataType(GeoPackageDataType dataType)
Set the data type
|
void |
setDefaultValue(Object defaultValue)
Set the default value
|
void |
setFromColumn(String fromColumn)
Set the from column
|
void |
setToColumn(String toColumn)
Set the to column
|
void |
setWhereOperator(String whereOperator)
Set the where operator
|
void |
setWhereValue(Object whereValue)
Set the where value
|
void |
setWhereValue(Object whereValue,
String whereOperator)
Set the where value
|
public MappedColumn(String toColumn)
toColumn - to Columnpublic MappedColumn(String toColumn, String fromColumn)
toColumn - to columnfromColumn - from columnpublic MappedColumn(String toColumn, String fromColumn, Object defaultValue, GeoPackageDataType dataType)
toColumn - to columnfromColumn - from columndefaultValue - default valuedataType - data typepublic MappedColumn(String toColumn, Object defaultValue, GeoPackageDataType dataType)
toColumn - to columndefaultValue - default valuedataType - data typepublic MappedColumn(UserColumn column)
column - user columnpublic MappedColumn(TableColumn column)
column - table columnpublic String getToColumn()
public void setToColumn(String toColumn)
toColumn - to columnpublic boolean hasNewName()
public String getFromColumn()
public void setFromColumn(String fromColumn)
fromColumn - from columnpublic boolean hasDefaultValue()
public Object getDefaultValue()
public String getDefaultValueAsString()
public void setDefaultValue(Object defaultValue)
defaultValue - default valuepublic GeoPackageDataType getDataType()
public void setDataType(GeoPackageDataType dataType)
dataType - data typepublic boolean hasConstantValue()
public Object getConstantValue()
public String getConstantValueAsString()
public void setConstantValue(Object constantValue)
constantValue - constant valuepublic boolean hasWhereValue()
public Object getWhereValue()
public String getWhereValueAsString()
public void setWhereValue(Object whereValue)
whereValue - where valuepublic void setWhereValue(Object whereValue, String whereOperator)
whereValue - where valuewhereOperator - where operatorpublic String getWhereOperator()
public void setWhereOperator(String whereOperator)
whereOperator - where operatorCopyright © 2020 National Geospatial-Intelligence Agency. All rights reserved.