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

All Superinterfaces:
Generator, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNamedContextNode<Generator>, JpaNode, Model, OrmGenerator, TableGenerator, XmlContextNode

public interface OrmTableGenerator
extends TableGenerator, OrmGenerator

orm.xml table 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.1

Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.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.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
 OrmUniqueConstraint addUniqueConstraint()
           
 OrmUniqueConstraint addUniqueConstraint(int index)
           
 java.lang.Iterable<OrmUniqueConstraint> getUniqueConstraints()
           
 XmlTableGenerator getXmlGenerator()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.TableGenerator
getCatalog, getDbTable, getDefaultCatalog, getDefaultPkColumnName, getDefaultPkColumnValue, getDefaultSchema, getDefaultTable, getDefaultValueColumnName, getPkColumnName, getPkColumnValue, getSchema, getSpecifiedCatalog, getSpecifiedPkColumnName, getSpecifiedPkColumnValue, getSpecifiedSchema, getSpecifiedTable, getSpecifiedValueColumnName, getTable, getUniqueConstraintsSize, getValueColumnName, moveUniqueConstraint, removeUniqueConstraint, removeUniqueConstraint, setSpecifiedCatalog, setSpecifiedPkColumnName, setSpecifiedPkColumnValue, setSpecifiedSchema, setSpecifiedTable, setSpecifiedValueColumnName
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmGenerator
getNameTextRange
 
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
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.XmlContextNode
getValidationTextRange, validate
 

Method Detail

getXmlGenerator

XmlTableGenerator getXmlGenerator()
Specified by:
getXmlGenerator in interface OrmGenerator

getUniqueConstraints

java.lang.Iterable<OrmUniqueConstraint> getUniqueConstraints()
Specified by:
getUniqueConstraints in interface TableGenerator

addUniqueConstraint

OrmUniqueConstraint addUniqueConstraint()
Specified by:
addUniqueConstraint in interface TableGenerator

addUniqueConstraint

OrmUniqueConstraint addUniqueConstraint(int index)
Specified by:
addUniqueConstraint in interface TableGenerator