|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Generator
Sequence and table generators.
Sequences can be defined on
orm.xml entities
orm.xml ID mappings
orm.xml entity mappings elements
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.
| Field Summary | |
|---|---|
static int |
DEFAULT_ALLOCATION_SIZE
|
static java.lang.String |
DEFAULT_ALLOCATION_SIZE_PROPERTY
|
static java.lang.String |
DEFAULT_INITIAL_VALUE_PROPERTY
|
static java.lang.Iterable<java.lang.Class<? extends Generator>> |
PRECEDENCE_TYPE_LIST
TODO bjv remove! |
static java.lang.String |
SPECIFIED_ALLOCATION_SIZE_PROPERTY
|
static java.lang.String |
SPECIFIED_INITIAL_VALUE_PROPERTY
|
| Fields inherited from interface org.eclipse.jpt.jpa.core.context.JpaNamedContextNode |
|---|
NAME_PROPERTY |
| Method Summary | |
|---|---|
int |
getAllocationSize()
Return the specified allocation size if present, otherwise return the default allocation size. |
Catalog |
getDbCatalog()
Return the generator's database catalog. |
Schema |
getDbSchema()
Return the generator's database schema. |
SchemaContainer |
getDbSchemaContainer()
Return the schema container that holds the relevant schemata. |
int |
getDefaultAllocationSize()
|
int |
getDefaultInitialValue()
|
int |
getInitialValue()
Return the specified initial value if present, otherwise return the default initial value. |
java.lang.Integer |
getSpecifiedAllocationSize()
|
java.lang.Integer |
getSpecifiedInitialValue()
|
void |
setSpecifiedAllocationSize(java.lang.Integer value)
|
void |
setSpecifiedInitialValue(java.lang.Integer value)
|
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaNamedContextNode |
|---|
duplicates, getName, overrides, setName |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode |
|---|
getJpaProject, getParent, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.common.core.IResourcePart |
|---|
getResource |
| Field Detail |
|---|
static final java.lang.Iterable<java.lang.Class<? extends Generator>> PRECEDENCE_TYPE_LIST
static final java.lang.String SPECIFIED_INITIAL_VALUE_PROPERTY
static final java.lang.String DEFAULT_INITIAL_VALUE_PROPERTY
static final java.lang.String SPECIFIED_ALLOCATION_SIZE_PROPERTY
static final java.lang.String DEFAULT_ALLOCATION_SIZE_PROPERTY
static final int DEFAULT_ALLOCATION_SIZE
| Method Detail |
|---|
int getInitialValue()
java.lang.Integer getSpecifiedInitialValue()
void setSpecifiedInitialValue(java.lang.Integer value)
int getDefaultInitialValue()
int getAllocationSize()
java.lang.Integer getSpecifiedAllocationSize()
void setSpecifiedAllocationSize(java.lang.Integer value)
int getDefaultAllocationSize()
SchemaContainer getDbSchemaContainer()
Catalog getDbCatalog()
Schema getDbSchema()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||