|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface 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.
| 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.String |
NAME_PROPERTY
|
static java.lang.String |
SEQUENCE_GENERATOR
|
static java.lang.String |
SPECIFIED_ALLOCATION_SIZE_PROPERTY
|
static java.lang.String |
SPECIFIED_INITIAL_VALUE_PROPERTY
|
static java.lang.String |
TABLE_GENERATOR
|
| Method Summary | |
|---|---|
boolean |
duplicates(Generator generator)
Return whether the generator is a duplicate of the given generator. |
int |
getAllocationSize()
|
Catalog |
getDbCatalog()
Return a db Catalog object with the specified/default catalog name. |
Schema |
getDbSchema()
Return a db Schema object with the specified/default schema name. |
SchemaContainer |
getDbSchemaContainer()
Return a db container object that hold the relevant schemata. |
int |
getDefaultAllocationSize()
|
int |
getDefaultInitialValue()
|
int |
getInitialValue()
|
java.lang.String |
getName()
|
java.lang.Integer |
getSpecifiedAllocationSize()
|
java.lang.Integer |
getSpecifiedInitialValue()
|
boolean |
isVirtual()
|
boolean |
overrides(Generator generator)
Return whether the generator overrides the definition of the given generator (e.g. |
void |
setName(java.lang.String value)
|
void |
setSpecifiedAllocationSize(java.lang.Integer value)
|
void |
setSpecifiedInitialValue(java.lang.Integer value)
|
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate |
| Methods inherited from interface org.eclipse.jpt.core.JpaNode |
|---|
getJpaProject, getParent |
| Methods inherited from interface org.eclipse.jpt.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.core.IResourcePart |
|---|
getResource |
| Field Detail |
|---|
static final java.lang.String SEQUENCE_GENERATOR
static final java.lang.String TABLE_GENERATOR
static final java.lang.String NAME_PROPERTY
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 int DEFAULT_ALLOCATION_SIZE
static final java.lang.String DEFAULT_ALLOCATION_SIZE_PROPERTY
| Method Detail |
|---|
java.lang.String getName()
void setName(java.lang.String value)
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()
boolean overrides(Generator generator)
boolean duplicates(Generator generator)
boolean isVirtual()
Schema getDbSchema()
Catalog getDbCatalog()
SchemaContainer getDbSchemaContainer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||