Package | Description |
---|---|
org.restsql.core |
Contains core framework interfaces, an API for deployments that use
restSQL as a library, rather than an HTTP service.
|
org.restsql.core.sqlresource |
Contains classes that model the SQL Resource definition XML document.
|
Modifier and Type | Method and Description |
---|---|
TableMetaData.TableRole |
ColumnMetaData.getTableRole()
Returns role of table in the SQL Resource.
|
TableMetaData.TableRole |
TableMetaData.getTableRole()
Returns role of table in the SQL Resource.
|
static TableMetaData.TableRole |
TableMetaData.TableRole.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableMetaData.TableRole[] |
TableMetaData.TableRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
TableMetaData.setAttributes(String tableName,
String qualifedTableName,
String databaseName,
TableMetaData.TableRole tableRole)
Sets attributes.
|
void |
ColumnMetaData.setAttributes(String databaseName,
String sqlQualifiedTableName,
String tableName,
TableMetaData.TableRole tableRole,
String columnName,
String qualifiedColumnName,
String columnLabel,
String qualifiedColumnLabel,
String columnTypeString)
Used for foreign key columns not declared in the SqlResource select columns.
|
void |
ColumnMetaData.setTableRole(TableMetaData.TableRole tableRole)
Sets table role.
|
Modifier and Type | Method and Description |
---|---|
static Table |
SqlResourceDefinitionUtils.getTable(SqlResourceDefinition definition,
TableMetaData.TableRole role)
Returns table object with desired role.
|
static List<Table> |
SqlResourceDefinitionUtils.getTableList(SqlResourceDefinition definition,
TableMetaData.TableRole role)
Returns list of table objects with specified role.
|
Copyright © 2011-2018 restSQL Project Contributors