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

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
JavaGeneratedValue, OrmGeneratedValue

public interface GeneratedValue
extends JpaContextNode

JPA generated value

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.1

Field Summary
static java.lang.String DEFAULT_GENERATOR_PROPERTY
           
static GenerationType DEFAULT_STRATEGY
           
static java.lang.String DEFAULT_STRATEGY_PROPERTY
           
static java.lang.String SPECIFIED_GENERATOR_PROPERTY
           
static java.lang.String SPECIFIED_STRATEGY_PROPERTY
           
 
Method Summary
 java.lang.String getDefaultGenerator()
           
 GenerationType getDefaultStrategy()
           
 java.lang.String getGenerator()
           
 java.lang.String getSpecifiedGenerator()
           
 GenerationType getSpecifiedStrategy()
           
 GenerationType getStrategy()
           
 void setSpecifiedGenerator(java.lang.String generator)
           
 void setSpecifiedStrategy(GenerationType strategy)
           
 
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_STRATEGY_PROPERTY

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

DEFAULT_STRATEGY_PROPERTY

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

DEFAULT_STRATEGY

static final GenerationType DEFAULT_STRATEGY

SPECIFIED_GENERATOR_PROPERTY

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

DEFAULT_GENERATOR_PROPERTY

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

getStrategy

GenerationType getStrategy()

getSpecifiedStrategy

GenerationType getSpecifiedStrategy()

setSpecifiedStrategy

void setSpecifiedStrategy(GenerationType strategy)

getDefaultStrategy

GenerationType getDefaultStrategy()

getGenerator

java.lang.String getGenerator()

getSpecifiedGenerator

java.lang.String getSpecifiedGenerator()

setSpecifiedGenerator

void setSpecifiedGenerator(java.lang.String generator)

getDefaultGenerator

java.lang.String getDefaultGenerator()