org.eclipse.jpt.jpa.core.jpa2.context
Interface SequenceGenerator2_0

All Superinterfaces:
Generator, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNamedContextNode<Generator>, JpaNode, Model, SequenceGenerator
All Known Subinterfaces:
JavaSequenceGenerator2_0, OrmSequenceGenerator2_0

public interface SequenceGenerator2_0
extends SequenceGenerator

JPA 2.0 sequence 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.3
Version:
2.3

Field Summary
static java.lang.String DEFAULT_CATALOG_PROPERTY
           
static java.lang.String DEFAULT_SCHEMA_PROPERTY
           
static java.lang.String SPECIFIED_CATALOG_PROPERTY
           
static java.lang.String SPECIFIED_SCHEMA_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.SequenceGenerator
DEFAULT_INITIAL_VALUE, DEFAULT_SEQUENCE_NAME_PROPERTY, SPECIFIED_SEQUENCE_NAME_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.Generator
DEFAULT_ALLOCATION_SIZE, DEFAULT_ALLOCATION_SIZE_PROPERTY, DEFAULT_INITIAL_VALUE_PROPERTY, PRECEDENCE_TYPE_LIST, SPECIFIED_ALLOCATION_SIZE_PROPERTY, SPECIFIED_INITIAL_VALUE_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.JpaNamedContextNode
NAME_PROPERTY
 
Method Summary
 java.lang.String getCatalog()
          Return the specified catalog if present, otherwise return the default catalog.
 java.lang.String getDefaultCatalog()
           
 java.lang.String getDefaultSchema()
           
 java.lang.String getSchema()
          Return the specified schema if present, otherwise return the default schema.
 java.lang.String getSpecifiedCatalog()
           
 java.lang.String getSpecifiedSchema()
           
 void setSpecifiedCatalog(java.lang.String value)
           
 void setSpecifiedSchema(java.lang.String value)
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.SequenceGenerator
getDefaultSequenceName, getSequenceName, getSpecifiedSequenceName, setSpecifiedSequenceName
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.Generator
getAllocationSize, getDbCatalog, getDbSchema, getDbSchemaContainer, getDefaultAllocationSize, getDefaultInitialValue, getInitialValue, getSpecifiedAllocationSize, getSpecifiedInitialValue, setSpecifiedAllocationSize, setSpecifiedInitialValue
 
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

SPECIFIED_CATALOG_PROPERTY

static final java.lang.String SPECIFIED_CATALOG_PROPERTY
See Also:
Constant Field Values

DEFAULT_CATALOG_PROPERTY

static final java.lang.String DEFAULT_CATALOG_PROPERTY
See Also:
Constant Field Values

SPECIFIED_SCHEMA_PROPERTY

static final java.lang.String SPECIFIED_SCHEMA_PROPERTY
See Also:
Constant Field Values

DEFAULT_SCHEMA_PROPERTY

static final java.lang.String DEFAULT_SCHEMA_PROPERTY
See Also:
Constant Field Values
Method Detail

getCatalog

java.lang.String getCatalog()
Return the specified catalog if present, otherwise return the default catalog.


getSpecifiedCatalog

java.lang.String getSpecifiedCatalog()

setSpecifiedCatalog

void setSpecifiedCatalog(java.lang.String value)

getDefaultCatalog

java.lang.String getDefaultCatalog()

getSchema

java.lang.String getSchema()
Return the specified schema if present, otherwise return the default schema.


getSpecifiedSchema

java.lang.String getSpecifiedSchema()

setSpecifiedSchema

void setSpecifiedSchema(java.lang.String value)

getDefaultSchema

java.lang.String getDefaultSchema()