org.eclipse.jpt.jpa.core.context
Interface SequenceGenerator

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

public interface SequenceGenerator
extends Generator

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.0
Version:
2.2

Field Summary
static int DEFAULT_INITIAL_VALUE
           
static java.lang.String DEFAULT_SEQUENCE_NAME_PROPERTY
           
static java.lang.String 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 getDefaultSequenceName()
           
 java.lang.String getSequenceName()
          Return the specified sequence name if present, otherwise return the default sequence name.
 java.lang.String getSpecifiedSequenceName()
           
 void setSpecifiedSequenceName(java.lang.String value)
           
 
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

DEFAULT_INITIAL_VALUE

static final int DEFAULT_INITIAL_VALUE
See Also:
Constant Field Values

SPECIFIED_SEQUENCE_NAME_PROPERTY

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

DEFAULT_SEQUENCE_NAME_PROPERTY

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

getSequenceName

java.lang.String getSequenceName()
Return the specified sequence name if present, otherwise return the default sequence name.


getSpecifiedSequenceName

java.lang.String getSpecifiedSequenceName()

setSpecifiedSequenceName

void setSpecifiedSequenceName(java.lang.String value)

getDefaultSequenceName

java.lang.String getDefaultSequenceName()