public class Extensions extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COLUMN_COLUMN_NAME
columnName field name
|
static String |
COLUMN_DEFINITION
definition field name
|
static String |
COLUMN_EXTENSION_NAME
extensionName field name
|
static String |
COLUMN_SCOPE
scope field name
|
static String |
COLUMN_TABLE_NAME
tableName field name
|
static String |
EXTENSION_NAME_DIVIDER
Divider between extension name parts
|
static String |
TABLE_NAME
Table name
|
| Constructor and Description |
|---|
Extensions()
Default Constructor
|
Extensions(Extensions extensions)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static String |
buildExtensionName(String author,
String extensionName)
Build the extension name by combining the required parts
|
String |
getAuthor()
Get the author from the beginning of the extension name
|
static String |
getAuthor(String extensionName)
Get the author from the beginning of the extension name
|
String |
getColumnName()
Get the column name
|
String |
getDefinition()
Get the definition
|
String |
getExtensionName()
Get the extension name
|
String |
getExtensionNameNoAuthor()
Get the extension name with the author prefix removed
|
static String |
getExtensionNameNoAuthor(String extensionName)
Get the extension name with the author prefix removed
|
ExtensionScopeType |
getScope()
Get the extension scope type
|
String |
getTableName()
Get the table name
|
void |
setColumnName(String columnName)
Set the column name
|
void |
setDefinition(String definition)
Set the definition
|
void |
setExtensionName(String extensionName)
Set the extension name
|
void |
setExtensionName(String author,
String extensionName)
Set the extension name by combining the required parts
|
void |
setScope(ExtensionScopeType scope)
Set the extension scope type
|
void |
setTableName(String tableName)
Set the table name
|
public static final String EXTENSION_NAME_DIVIDER
public static final String TABLE_NAME
public static final String COLUMN_TABLE_NAME
public static final String COLUMN_COLUMN_NAME
public static final String COLUMN_EXTENSION_NAME
public static final String COLUMN_DEFINITION
public static final String COLUMN_SCOPE
public Extensions()
public Extensions(Extensions extensions)
extensions - extensions to copypublic String getTableName()
public void setTableName(String tableName)
tableName - table namepublic String getColumnName()
public void setColumnName(String columnName)
columnName - column namepublic String getExtensionName()
public void setExtensionName(String extensionName)
extensionName - extension namepublic void setExtensionName(String author, String extensionName)
author - extensionName - public String getAuthor()
public String getExtensionNameNoAuthor()
public String getDefinition()
public void setDefinition(String definition)
definition - definitionpublic ExtensionScopeType getScope()
public void setScope(ExtensionScopeType scope)
scope - extension scope typepublic static String buildExtensionName(String author, String extensionName)
author - extension authorextensionName - extension namepublic static String getAuthor(String extensionName)
extensionName - extension nameCopyright © 2018 National Geospatial-Intelligence Agency. All rights reserved.