|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface OrmEntity
orm.xml entity
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.Entity |
|---|
Entity.IsDescendant |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.TypeRefactoringParticipant |
|---|
TypeRefactoringParticipant.MoveTypeEditsTransformer, TypeRefactoringParticipant.RenamePackageEditsTransformer, TypeRefactoringParticipant.RenameTypeEditsTransformer |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.IdTypeMapping |
|---|
IdTypeMapping.SuperTypeMappingTransformer |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.TypeMapping |
|---|
TypeMapping.GeneratorsTransformer, TypeMapping.MappingIsIdMapping, TypeMapping.PersistentTypeTransformer, TypeMapping.QueriesTransformer |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
JpaModel.JpaVersionIsCompatibleWith |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary | |
|---|---|
static String |
DEFAULT_PRIMARY_KEY_JOIN_COLUMNS_LIST
|
static String |
VIRTUAL_SECONDARY_TABLES_LIST
|
| Fields inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmTypeMapping |
|---|
DEFAULT_PARENT_CLASS_PROPERTY, FULLY_QUALIFIED_PARENT_CLASS_PROPERTY, OVERRIDE_METADATA_COMPLETE_PROPERTY, SPECIFIED_METADATA_COMPLETE_PROPERTY, SPECIFIED_PARENT_CLASS_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.jpa.core.context.TypeMapping |
|---|
GENERATORS_TRANSFORMER, ID_ATTRIBUTE_MAPPING_KEYS, PERSISTENT_TYPE_TRANSFORMER, QUERIES_TRANSFORMER, SUPER_TYPE_MAPPING_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
TRANSFORMER |
| Method Summary | |
|---|---|
OrmSpecifiedPrimaryKeyJoinColumn |
addSpecifiedPrimaryKeyJoinColumn()
|
OrmSpecifiedPrimaryKeyJoinColumn |
addSpecifiedPrimaryKeyJoinColumn(int index)
|
OrmSpecifiedSecondaryTable |
addSpecifiedSecondaryTable()
Add a specified secondary table to the entity return the object representing it. |
OrmSpecifiedSecondaryTable |
addSpecifiedSecondaryTable(int index)
Add a specified secondary table to the entity return the object representing it. |
OrmAssociationOverrideContainer |
getAssociationOverrideContainer()
|
OrmAttributeOverrideContainer |
getAttributeOverrideContainer()
|
org.eclipse.jpt.common.utility.iterable.ListIterable<PrimaryKeyJoinColumn> |
getDefaultPrimaryKeyJoinColumns()
|
int |
getDefaultPrimaryKeyJoinColumnsSize()
|
OrmSpecifiedDiscriminatorColumn |
getDiscriminatorColumn()
|
OrmGeneratorContainer |
getGeneratorContainer()
|
JavaEntity |
getJavaTypeMapping()
Return the Java type mapping corresponding to the orm.xml
type mapping. |
JavaEntity |
getJavaTypeMappingForDefaults()
Check "metadata complete" before returning the Java type mapping. |
org.eclipse.jpt.common.utility.iterable.ListIterable<PrimaryKeyJoinColumn> |
getPrimaryKeyJoinColumns()
|
OrmQueryContainer |
getQueryContainer()
|
org.eclipse.jpt.common.utility.iterable.ListIterable<SecondaryTable> |
getSecondaryTables()
Return the secondary tables whether specified or default. |
org.eclipse.jpt.common.utility.iterable.ListIterable<OrmSpecifiedPrimaryKeyJoinColumn> |
getSpecifiedPrimaryKeyJoinColumns()
|
org.eclipse.jpt.common.utility.iterable.ListIterable<OrmSpecifiedSecondaryTable> |
getSpecifiedSecondaryTables()
Return a list iterator of the specified secondary tables. |
OrmSpecifiedTable |
getTable()
Return the entity's table, either specified or default. |
org.eclipse.jpt.common.utility.iterable.ListIterable<OrmVirtualSecondaryTable> |
getVirtualSecondaryTables()
Return the virtual (not specified) secondary tables. |
int |
getVirtualSecondaryTablesSize()
Return the number of virtual secondary tables. |
org.eclipse.jpt.jpa.core.resource.orm.XmlEntity |
getXmlTypeMapping()
|
boolean |
secondaryTablesAreDefinedInXml()
Return true if there are no virtual secondary tables on the orm entity. |
void |
setSecondaryTablesAreDefinedInXml(boolean defineInXml)
If the specified flag is true, then all the default
secondary tables (as determined by the Java secondary tables) are
converted to specified secondary tables in the XML. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmIdTypeMapping |
|---|
getIdClassReference, getJavaIdClassReferenceForDefaults, getXmlIdClassContainer |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmTypeMapping |
|---|
addXmlTypeMappingTo, getAttributesTextRange, getDefaultParentClass, getFullyQualifiedParentClass, getParentClass, getPersistentType, getSelectionTextRange, getSpecifiedMetadataComplete, getSpecifiedParentClass, getXmlSequence, initializeFrom, isMetadataComplete, isOverrideMetadataComplete, removeXmlTypeMappingFrom, setSpecifiedMetadataComplete, setSpecifiedParentClass |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.TypeRefactoringParticipant |
|---|
createMoveTypeEdits, createRenamePackageEdits, createRenameTypeEdits |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.IdTypeMapping |
|---|
getInheritanceHierarchy, getPrimaryKeyClassName, isRootEntity |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel |
|---|
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
getResourceType |
| Field Detail |
|---|
static final String VIRTUAL_SECONDARY_TABLES_LIST
static final String DEFAULT_PRIMARY_KEY_JOIN_COLUMNS_LIST
| Method Detail |
|---|
org.eclipse.jpt.jpa.core.resource.orm.XmlEntity getXmlTypeMapping()
getXmlTypeMapping in interface OrmTypeMappingJavaEntity getJavaTypeMapping()
OrmTypeMappingorm.xml
type mapping. Return null if there is no such Java type
mapping; i.e. it does not exist or it is not the same type of type
mapping (entity, mapped superclass, embeddable).
getJavaTypeMapping in interface OrmTypeMappingOrmTypeMapping.getJavaTypeMappingForDefaults()JavaEntity getJavaTypeMappingForDefaults()
OrmTypeMappingorm.xml defaults, if "metadata complete" is
true, return null.
getJavaTypeMappingForDefaults in interface OrmTypeMappingOrmTypeMapping.getJavaTypeMapping()OrmSpecifiedTable getTable()
Entitynull.
getTable in interface EntitySpecifiedTable.isSpecifiedInResource()OrmSpecifiedDiscriminatorColumn getDiscriminatorColumn()
getDiscriminatorColumn in interface Entityorg.eclipse.jpt.common.utility.iterable.ListIterable<SecondaryTable> getSecondaryTables()
Entity
getSecondaryTables in interface Entityorg.eclipse.jpt.common.utility.iterable.ListIterable<OrmSpecifiedSecondaryTable> getSpecifiedSecondaryTables()
Entity
getSpecifiedSecondaryTables in interface EntityOrmSpecifiedSecondaryTable addSpecifiedSecondaryTable()
Entity
addSpecifiedSecondaryTable in interface EntityOrmSpecifiedSecondaryTable addSpecifiedSecondaryTable(int index)
Entity
addSpecifiedSecondaryTable in interface Entityorg.eclipse.jpt.common.utility.iterable.ListIterable<OrmVirtualSecondaryTable> getVirtualSecondaryTables()
int getVirtualSecondaryTablesSize()
boolean secondaryTablesAreDefinedInXml()
void setSecondaryTablesAreDefinedInXml(boolean defineInXml)
true, then all the default
secondary tables (as determined by the Java secondary tables) are
converted to specified secondary tables in the XML.
If the specified flag is false, then all the secondary
tables specified in the XML are removed.
org.eclipse.jpt.common.utility.iterable.ListIterable<PrimaryKeyJoinColumn> getPrimaryKeyJoinColumns()
getPrimaryKeyJoinColumns in interface Entityorg.eclipse.jpt.common.utility.iterable.ListIterable<OrmSpecifiedPrimaryKeyJoinColumn> getSpecifiedPrimaryKeyJoinColumns()
getSpecifiedPrimaryKeyJoinColumns in interface EntityOrmSpecifiedPrimaryKeyJoinColumn addSpecifiedPrimaryKeyJoinColumn()
addSpecifiedPrimaryKeyJoinColumn in interface EntityOrmSpecifiedPrimaryKeyJoinColumn addSpecifiedPrimaryKeyJoinColumn(int index)
addSpecifiedPrimaryKeyJoinColumn in interface Entityorg.eclipse.jpt.common.utility.iterable.ListIterable<PrimaryKeyJoinColumn> getDefaultPrimaryKeyJoinColumns()
int getDefaultPrimaryKeyJoinColumnsSize()
OrmAttributeOverrideContainer getAttributeOverrideContainer()
getAttributeOverrideContainer in interface EntityOrmAssociationOverrideContainer getAssociationOverrideContainer()
getAssociationOverrideContainer in interface EntityOrmQueryContainer getQueryContainer()
getQueryContainer in interface EntityOrmGeneratorContainer getGeneratorContainer()
getGeneratorContainer in interface Entity
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||