org.eclipse.jpt.jpa.eclipselink.core.context.orm
Interface OrmEclipseLinkEntity
- All Superinterfaces:
- EclipseLinkConvertibleMapping, EclipseLinkEntity, EclipseLinkNonEmbeddableTypeMapping, EclipseLinkOrmTypeMapping, EclipseLinkTypeMapping, Entity, IAdaptable, IdTypeMapping, JpaContextNode, JpaNode, JptResourceTypeReference, Model, OrmEclipseLinkNonEmbeddableTypeMapping, OrmEntity, OrmIdTypeMapping, OrmTypeMapping, TypeMapping, TypeRefactoringParticipant
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
| 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 |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmEntity |
addSpecifiedPrimaryKeyJoinColumn, addSpecifiedPrimaryKeyJoinColumn, addSpecifiedSecondaryTable, addSpecifiedSecondaryTable, getAssociationOverrideContainer, getAttributeOverrideContainer, getDefaultPrimaryKeyJoinColumns, getDefaultPrimaryKeyJoinColumnsSize, getDiscriminatorColumn, getGeneratorContainer, getPrimaryKeyJoinColumns, getQueryContainer, getSecondaryTables, getSpecifiedPrimaryKeyJoinColumns, getSpecifiedSecondaryTables, getTable, getVirtualSecondaryTables, getVirtualSecondaryTablesSize, secondaryTablesAreDefinedInXml, setSecondaryTablesAreDefinedInXml |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.Entity |
clearSpecifiedPrimaryKeyJoinColumns, convertDefaultPrimaryKeyJoinColumnsToSpecified, discriminatorColumnIsUndefined, discriminatorValueIsUndefined, getDefaultCatalog, getDefaultDiscriminatorValue, getDefaultInheritanceStrategy, getDefaultName, getDefaultSchema, getDefaultTableName, getDescendants, getDiscriminatorValue, getIdAttribute, getInheritanceStrategy, getNameTextRange, getParentEntity, getPrimaryKeyColumnName, getPrimaryKeyJoinColumnsSize, getRootEntity, getSecondaryTablesSize, getSpecifiedDiscriminatorValue, getSpecifiedInheritanceStrategy, getSpecifiedName, getSpecifiedPrimaryKeyJoinColumn, getSpecifiedPrimaryKeyJoinColumnsSize, getSpecifiedSecondaryTablesSize, moveSpecifiedPrimaryKeyJoinColumn, moveSpecifiedSecondaryTable, removeSpecifiedPrimaryKeyJoinColumn, removeSpecifiedPrimaryKeyJoinColumn, removeSpecifiedSecondaryTable, removeSpecifiedSecondaryTable, resolveAttributeMapping, setSpecifiedDiscriminatorValue, setSpecifiedInheritanceStrategy, setSpecifiedName, specifiedDiscriminatorColumnIsAllowed, specifiedDiscriminatorValueIsAllowed, specifiedTableIsAllowed, supportsValidationMessages, tableIsUndefined |
| 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.TypeMapping |
attributeIsDerivedId, attributeMappingKeyAllowed, getAllAssociatedTableNames, getAllAssociatedTables, getAllAttributeMappings, getAllAttributeMappings, getAllOverridableAssociationNames, getAllOverridableAttributeNames, getAssociatedTables, getAttributeMappings, getAttributeMappings, getDbSchema, getGenerators, getIdClass, getInheritanceHierarchy, getJavaResourceType, getKey, getName, getNonTransientAttributeMappings, getOverridableAssociationNames, getOverridableAttributeNames, getPrimaryDbTable, getPrimaryTableName, getQueries, getSuperTypeMapping, isMapped, isRootEntity, resolveDbTable, resolveOverriddenColumn, resolveOverriddenRelationship, tableNameIsInvalid, validatesAgainstDatabase |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode |
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
getXmlTypeMapping
org.eclipse.jpt.jpa.eclipselink.core.resource.orm.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()
Copyright (c) 2012 Oracle. All rights reserved.