org.eclipse.jpt.core.context
Interface Generator

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
JavaGenerator, JavaSequenceGenerator, JavaTableGenerator, OrmGenerator, OrmSequenceGenerator, OrmTableGenerator, SequenceGenerator, TableGenerator

public interface Generator
extends JpaContextNode

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 java.lang.Integer 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 SPECIFIED_ALLOCATION_SIZE_PROPERTY
           
static java.lang.String SPECIFIED_INITIAL_VALUE_PROPERTY
           
 
Method Summary
 java.lang.Integer getAllocationSize()
           
 java.lang.Integer getDefaultAllocationSize()
           
 java.lang.Integer getDefaultInitialValue()
           
 java.lang.Integer getInitialValue()
           
 java.lang.String getName()
           
 java.lang.Integer getSpecifiedAllocationSize()
           
 java.lang.Integer getSpecifiedInitialValue()
           
 boolean isVirtual()
           
 boolean overrides(Generator generator)
          Return true if this generator overrides the definition of the specified generator (for example, a generator defined in orm.xml overrides one defined in java)
 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
getEntityMappings, getOrmPersistentType, getPersistenceUnit
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent, getResource
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addCollectionChangeListener, addCollectionChangeListener, addListChangeListener, addListChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, addTreeChangeListener, removeCollectionChangeListener, removeCollectionChangeListener, removeListChangeListener, removeListChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

NAME_PROPERTY

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

DEFAULT_INITIAL_VALUE_PROPERTY

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

SPECIFIED_INITIAL_VALUE_PROPERTY

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

DEFAULT_ALLOCATION_SIZE_PROPERTY

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

DEFAULT_ALLOCATION_SIZE

static final java.lang.Integer DEFAULT_ALLOCATION_SIZE

SPECIFIED_ALLOCATION_SIZE_PROPERTY

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

getName

java.lang.String getName()

setName

void setName(java.lang.String value)

getInitialValue

java.lang.Integer getInitialValue()

getDefaultInitialValue

java.lang.Integer getDefaultInitialValue()

getSpecifiedInitialValue

java.lang.Integer getSpecifiedInitialValue()

setSpecifiedInitialValue

void setSpecifiedInitialValue(java.lang.Integer value)

getAllocationSize

java.lang.Integer getAllocationSize()

getDefaultAllocationSize

java.lang.Integer getDefaultAllocationSize()

getSpecifiedAllocationSize

java.lang.Integer getSpecifiedAllocationSize()

setSpecifiedAllocationSize

void setSpecifiedAllocationSize(java.lang.Integer value)

overrides

boolean overrides(Generator generator)
Return true if this generator overrides the definition of the specified generator (for example, a generator defined in orm.xml overrides one defined in java)


isVirtual

boolean isVirtual()