org.eclipse.jpt.core.context.orm
Interface OrmTableGenerator

All Superinterfaces:
Generator, org.eclipse.core.runtime.IAdaptable, JpaContextNode, JpaNode, Model, OrmGenerator, OrmJpaContextNode, TableGenerator

public interface OrmTableGenerator
extends TableGenerator, OrmGenerator, OrmJpaContextNode

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
 
Fields inherited from interface org.eclipse.jpt.core.context.TableGenerator
DEFAULT_CATALOG_PROPERTY, DEFAULT_INITIAL_VALUE, DEFAULT_PK_COLUMN_NAME_PROPERTY, DEFAULT_PK_COLUMN_VALUE_PROPERTY, DEFAULT_SCHEMA_PROPERTY, DEFAULT_TABLE_PROPERTY, DEFAULT_VALUE_COLUMN_NAME_PROPERTY, SPECIFIED_CATALOG_PROPERTY, SPECIFIED_PK_COLUMN_NAME_PROPERTY, SPECIFIED_PK_COLUMN_VALUE_PROPERTY, SPECIFIED_SCHEMA_PROPERTY, SPECIFIED_TABLE_PROPERTY, SPECIFIED_VALUE_COLUMN_NAME_PROPERTY, UNIQUE_CONSTRAINTS_LIST
 
Fields inherited from interface org.eclipse.jpt.core.context.Generator
DEFAULT_ALLOCATION_SIZE, DEFAULT_ALLOCATION_SIZE_PROPERTY, DEFAULT_INITIAL_VALUE_PROPERTY, NAME_PROPERTY, SPECIFIED_ALLOCATION_SIZE_PROPERTY, SPECIFIED_INITIAL_VALUE_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.Generator
DEFAULT_ALLOCATION_SIZE, DEFAULT_ALLOCATION_SIZE_PROPERTY, DEFAULT_INITIAL_VALUE_PROPERTY, NAME_PROPERTY, SPECIFIED_ALLOCATION_SIZE_PROPERTY, SPECIFIED_INITIAL_VALUE_PROPERTY
 
Method Summary
 OrmUniqueConstraint addUniqueConstraint(int index)
          Add a unique constraint to the table and return the object representing it.
 void initialize(XmlTableGenerator tableGenerator)
           
 java.util.ListIterator<OrmUniqueConstraint> uniqueConstraints()
          Return a list iterator of the unique constraints.
 void update(XmlTableGenerator tableGenerator)
           
 
Methods inherited from interface org.eclipse.jpt.core.context.TableGenerator
getCatalog, getDbSchema, getDbTable, getDefaultCatalog, getDefaultPkColumnName, getDefaultPkColumnValue, getDefaultSchema, getDefaultTable, getDefaultValueColumnName, getPkColumnName, getPkColumnValue, getSchema, getSpecifiedCatalog, getSpecifiedPkColumnName, getSpecifiedPkColumnValue, getSpecifiedSchema, getSpecifiedTable, getSpecifiedValueColumnName, getTable, getValueColumnName, moveUniqueConstraint, removeUniqueConstraint, removeUniqueConstraint, setSpecifiedCatalog, setSpecifiedPkColumnName, setSpecifiedPkColumnValue, setSpecifiedSchema, setSpecifiedTable, setSpecifiedValueColumnName, uniqueConstraintsSize
 
Methods inherited from interface org.eclipse.jpt.core.context.Generator
getAllocationSize, getDefaultAllocationSize, getDefaultInitialValue, getInitialValue, getName, getSpecifiedAllocationSize, getSpecifiedInitialValue, isVirtual, overrides, setName, setSpecifiedAllocationSize, setSpecifiedInitialValue
 
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
 
Methods inherited from interface org.eclipse.jpt.core.context.orm.OrmGenerator
getNameTextRange
 
Methods inherited from interface org.eclipse.jpt.core.context.Generator
getAllocationSize, getDefaultAllocationSize, getDefaultInitialValue, getInitialValue, getName, getSpecifiedAllocationSize, getSpecifiedInitialValue, isVirtual, overrides, setName, setSpecifiedAllocationSize, setSpecifiedInitialValue
 
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
 
Methods inherited from interface org.eclipse.jpt.core.context.orm.OrmJpaContextNode
addToMessages, getValidationTextRange
 

Method Detail

initialize

void initialize(XmlTableGenerator tableGenerator)

update

void update(XmlTableGenerator tableGenerator)

uniqueConstraints

java.util.ListIterator<OrmUniqueConstraint> uniqueConstraints()
Description copied from interface: TableGenerator
Return a list iterator of the unique constraints. This will not be null.

Specified by:
uniqueConstraints in interface TableGenerator

addUniqueConstraint

OrmUniqueConstraint addUniqueConstraint(int index)
Description copied from interface: TableGenerator
Add a unique constraint to the table and return the object representing it.

Specified by:
addUniqueConstraint in interface TableGenerator