org.eclipse.jpt.jpa.eclipselink.core.context.orm
Interface OrmEclipseLinkEntity

All Superinterfaces:
EclipseLinkEntity, EclipseLinkNonEmbeddableTypeMapping, EclipseLinkOrmTypeMapping, EclipseLinkTypeMapping, Entity, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, OrmEclipseLinkNonEmbeddableTypeMapping, OrmEntity, OrmTypeMapping, TypeMapping, XmlContextNode

public interface OrmEclipseLinkEntity
extends OrmEntity, EclipseLinkEntity, OrmEclipseLinkNonEmbeddableTypeMapping

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

Since:
2.1
Version:
2.1

Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmEntity
DEFAULT_PRIMARY_KEY_JOIN_COLUMNS_LIST, VIRTUAL_SECONDARY_TABLES_LIST
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.Entity
DEFAULT_DISCRIMINATOR_VALUE_PROPERTY, DEFAULT_INHERITANCE_STRATEGY_PROPERTY, DEFAULT_NAME_PROPERTY, DESCENDANTS_COLLECTION, DISCRIMINATOR_COLUMN_IS_UNDEFINED_PROPERTY, DISCRIMINATOR_VALUE_IS_UNDEFINED_PROPERTY, ROOT_ENTITY_PROPERTY, SPECIFIED_DISCRIMINATOR_COLUMN_IS_ALLOWED_PROPERTY, SPECIFIED_DISCRIMINATOR_VALUE_IS_ALLOWED_PROPERTY, SPECIFIED_DISCRIMINATOR_VALUE_PROPERTY, SPECIFIED_INHERITANCE_STRATEGY_PROPERTY, SPECIFIED_NAME_PROPERTY, SPECIFIED_PRIMARY_KEY_JOIN_COLUMNS_LIST, SPECIFIED_SECONDARY_TABLES_LIST, SPECIFIED_TABLE_IS_ALLOWED_PROPERTY, TABLE_IS_UNDEFINED_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmTypeMapping
CLASS_PROPERTY, OVERRIDE_METADATA_COMPLETE_PROPERTY, SPECIFIED_METADATA_COMPLETE_PROPERTY
 
Method Summary
 JavaEclipseLinkEntity getJavaTypeMapping()
          Return the Java type mapping corresponding to the orm.xml type mapping.
 JavaEclipseLinkEntity getJavaTypeMappingForDefaults()
          Check "metadata complete" before returning the Java type mapping.
 XmlEntity getXmlTypeMapping()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmEntity
addSpecifiedPrimaryKeyJoinColumn, addSpecifiedPrimaryKeyJoinColumn, addSpecifiedSecondaryTable, addSpecifiedSecondaryTable, defaultPrimaryKeyJoinColumns, getAssociationOverrideContainer, getAttributeOverrideContainer, getDiscriminatorColumn, getGeneratorContainer, getIdClassReference, getQueryContainer, getTable, primaryKeyJoinColumns, secondaryTables, secondaryTablesAreDefinedInXml, setSecondaryTablesAreDefinedInXml, specifiedPrimaryKeyJoinColumns, specifiedSecondaryTables, virtualSecondaryTables, virtualSecondaryTablesSize
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.Entity
discriminatorColumnIsUndefined, discriminatorValueIsUndefined, getDefaultCatalog, getDefaultDiscriminatorValue, getDefaultInheritanceStrategy, getDefaultName, getDefaultSchema, getDefaultTableName, getDescendants, getDiscriminatorValue, getIdAttribute, getInheritanceStrategy, getParentEntity, getPrimaryKeyColumnName, getRootEntity, getSpecifiedDiscriminatorValue, getSpecifiedInheritanceStrategy, getSpecifiedName, isRoot, moveSpecifiedPrimaryKeyJoinColumn, moveSpecifiedSecondaryTable, primaryKeyJoinColumnsSize, removeSpecifiedPrimaryKeyJoinColumn, removeSpecifiedPrimaryKeyJoinColumn, removeSpecifiedSecondaryTable, removeSpecifiedSecondaryTable, resolveAttributeMapping, secondaryTablesSize, setSpecifiedDiscriminatorValue, setSpecifiedInheritanceStrategy, setSpecifiedName, specifiedDiscriminatorColumnIsAllowed, specifiedDiscriminatorValueIsAllowed, specifiedPrimaryKeyJoinColumnsSize, specifiedSecondaryTablesSize, specifiedTableIsAllowed, tableIsUndefined
 
Methods inherited from interface org.eclipse.jpt.jpa.eclipselink.core.context.orm.OrmEclipseLinkNonEmbeddableTypeMapping
getCaching
 
Methods inherited from interface org.eclipse.jpt.jpa.eclipselink.core.context.EclipseLinkNonEmbeddableTypeMapping
getReadOnly
 
Methods inherited from interface org.eclipse.jpt.jpa.eclipselink.core.context.orm.EclipseLinkOrmTypeMapping
getConverterContainer
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmTypeMapping
addXmlTypeMappingTo, containsOffset, createDeleteEdit, createMoveTypeEdits, createRenamePackageEdits, createRenameTypeEdits, getAttributesTextRange, getClass_, getClassTextRange, getPersistentType, getSelectionTextRange, getSpecifiedMetadataComplete, getXmlSequence, initializeFrom, isMetadataComplete, isOverrideMetadataComplete, removeXmlTypeMappingFrom, setClass, setSpecifiedMetadataComplete
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.XmlContextNode
getValidationTextRange, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.eclipselink.core.context.EclipseLinkTypeMapping
getChangeTracking, getCustomizer, usesPrimaryKeyColumns
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.TypeMapping
allAssociatedTableNames, allAssociatedTables, allAttributeMappings, allOverridableAssociationNames, allOverridableAttributeNames, associatedTables, attributeMappingKeyAllowed, attributeMappings, getAllAttributeMappings, getAttributeMappings, getDbSchema, getIdClass, getKey, getName, getPrimaryDbTable, getPrimaryTableName, getSuperTypeMapping, inheritanceHierarchy, isMapped, overridableAssociationNames, overridableAttributeNames, resolveDbTable, resolveOverriddenColumn, resolveOverriddenRelationship, tableNameIsInvalid, validatesAgainstDatabase
 
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
 

Method Detail

getXmlTypeMapping

XmlEntity getXmlTypeMapping()
Specified by:
getXmlTypeMapping in interface OrmEntity
Specified by:
getXmlTypeMapping in interface OrmTypeMapping

getJavaTypeMapping

JavaEclipseLinkEntity getJavaTypeMapping()
Description copied from interface: OrmTypeMapping
Return the Java type mapping corresponding to the orm.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).

Specified by:
getJavaTypeMapping in interface EclipseLinkOrmTypeMapping
Specified by:
getJavaTypeMapping in interface OrmEclipseLinkNonEmbeddableTypeMapping
Specified by:
getJavaTypeMapping in interface OrmEntity
Specified by:
getJavaTypeMapping in interface OrmTypeMapping
See Also:
OrmTypeMapping.getJavaTypeMappingForDefaults()

getJavaTypeMappingForDefaults

JavaEclipseLinkEntity getJavaTypeMappingForDefaults()
Description copied from interface: OrmTypeMapping
Check "metadata complete" before returning the Java type mapping. For orm.xml defaults, if "metadata complete" is true, return null.

Specified by:
getJavaTypeMappingForDefaults in interface EclipseLinkOrmTypeMapping
Specified by:
getJavaTypeMappingForDefaults in interface OrmEclipseLinkNonEmbeddableTypeMapping
Specified by:
getJavaTypeMappingForDefaults in interface OrmEntity
Specified by:
getJavaTypeMappingForDefaults in interface OrmTypeMapping
See Also:
OrmTypeMapping.getJavaTypeMapping()