org.eclipse.jpt.jpa.core.context
Interface TableGenerator
- All Superinterfaces:
- DbGenerator, Generator, IAdaptable, JpaContextModel, JpaModel, JpaNamedContextModel, JptResourceTypeReference, Model
- All Known Subinterfaces:
- JavaTableGenerator, OrmTableGenerator
public interface TableGenerator
- extends DbGenerator
table generator
Provisional API: This interface is part of an interim API that is still
under development and expected to change significantly before reaching
stability. It is available at this early stage to solicit feedback from
pioneering adopters on the understanding that any code that uses this API
will almost certainly be broken (repeatedly) as the API evolves.
- Since:
- 2.0
| Fields inherited from interface org.eclipse.jpt.jpa.core.context.Generator |
TYPES |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.DbGenerator |
getAllocationSize, getDbCatalog, getDbSchema, getDbSchemaContainer, getDefaultAllocationSize, getDefaultInitialValue, getInitialValue, getSpecifiedAllocationSize, getSpecifiedInitialValue, setSpecifiedAllocationSize, setSpecifiedInitialValue |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel |
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
DEFAULT_INITIAL_VALUE
static final int DEFAULT_INITIAL_VALUE
- See Also:
- Constant Field Values
SPECIFIED_TABLE_NAME_PROPERTY
static final String SPECIFIED_TABLE_NAME_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_TABLE_NAME_PROPERTY
static final String DEFAULT_TABLE_NAME_PROPERTY
- See Also:
- Constant Field Values
SPECIFIED_SCHEMA_PROPERTY
static final String SPECIFIED_SCHEMA_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_SCHEMA_PROPERTY
static final String DEFAULT_SCHEMA_PROPERTY
- See Also:
- Constant Field Values
SPECIFIED_CATALOG_PROPERTY
static final String SPECIFIED_CATALOG_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_CATALOG_PROPERTY
static final String DEFAULT_CATALOG_PROPERTY
- See Also:
- Constant Field Values
SPECIFIED_PK_COLUMN_NAME_PROPERTY
static final String SPECIFIED_PK_COLUMN_NAME_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_PK_COLUMN_NAME_PROPERTY
static final String DEFAULT_PK_COLUMN_NAME_PROPERTY
- See Also:
- Constant Field Values
SPECIFIED_VALUE_COLUMN_NAME_PROPERTY
static final String SPECIFIED_VALUE_COLUMN_NAME_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_VALUE_COLUMN_NAME_PROPERTY
static final String DEFAULT_VALUE_COLUMN_NAME_PROPERTY
- See Also:
- Constant Field Values
SPECIFIED_PK_COLUMN_VALUE_PROPERTY
static final String SPECIFIED_PK_COLUMN_VALUE_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_PK_COLUMN_VALUE_PROPERTY
static final String DEFAULT_PK_COLUMN_VALUE_PROPERTY
- See Also:
- Constant Field Values
UNIQUE_CONSTRAINTS_LIST
static final String UNIQUE_CONSTRAINTS_LIST
- See Also:
- Constant Field Values
getTableName
String getTableName()
- Return the specified table name if present, otherwise return the default
table name.
getSpecifiedTableName
String getSpecifiedTableName()
setSpecifiedTableName
void setSpecifiedTableName(String tableName)
getDefaultTableName
String getDefaultTableName()
getSchema
String getSchema()
- Return the specified schema if present, otherwise return the default
schema.
getSpecifiedSchema
String getSpecifiedSchema()
setSpecifiedSchema
void setSpecifiedSchema(String value)
getDefaultSchema
String getDefaultSchema()
getCatalog
String getCatalog()
- Return the specified catalog if present, otherwise return the default
catalog.
getSpecifiedCatalog
String getSpecifiedCatalog()
setSpecifiedCatalog
void setSpecifiedCatalog(String value)
getDefaultCatalog
String getDefaultCatalog()
getPkColumnName
String getPkColumnName()
- Return the specified primary key colum name if present, otherwise return
the default primary key colum name.
getSpecifiedPkColumnName
String getSpecifiedPkColumnName()
setSpecifiedPkColumnName
void setSpecifiedPkColumnName(String value)
getDefaultPkColumnName
String getDefaultPkColumnName()
getValueColumnName
String getValueColumnName()
- Return the specified value colum name if present, otherwise return
the default value colum name.
getSpecifiedValueColumnName
String getSpecifiedValueColumnName()
setSpecifiedValueColumnName
void setSpecifiedValueColumnName(String value)
getDefaultValueColumnName
String getDefaultValueColumnName()
getPkColumnValue
String getPkColumnValue()
- Return the specified primary key colum value if present, otherwise return
the default primary key colum value.
getSpecifiedPkColumnValue
String getSpecifiedPkColumnValue()
setSpecifiedPkColumnValue
void setSpecifiedPkColumnValue(String value)
getDefaultPkColumnValue
String getDefaultPkColumnValue()
getUniqueConstraints
<T extends SpecifiedUniqueConstraint> Iterable<T> getUniqueConstraints()
getUniqueConstraintsSize
int getUniqueConstraintsSize()
getUniqueConstraint
SpecifiedUniqueConstraint getUniqueConstraint(int index)
addUniqueConstraint
SpecifiedUniqueConstraint addUniqueConstraint()
addUniqueConstraint
SpecifiedUniqueConstraint addUniqueConstraint(int index)
removeUniqueConstraint
void removeUniqueConstraint(int index)
removeUniqueConstraint
void removeUniqueConstraint(SpecifiedUniqueConstraint uniqueConstraint)
moveUniqueConstraint
void moveUniqueConstraint(int targetIndex,
int sourceIndex)
getDbTable
Table getDbTable()
- Return the generator's database table.
Return null if the generator's table (name) is invalid.
Copyright (c) 2012 Oracle. All rights reserved.