org.eclipse.jpt.jpa.core.context.orm
Interface OrmMappedSuperclass
- All Superinterfaces:
- IAdaptable, IdTypeMapping, JpaContextNode, JpaNode, JptResourceTypeReference, MappedSuperclass, Model, OrmIdTypeMapping, OrmTypeMapping, TypeMapping, TypeRefactoringParticipant
- All Known Subinterfaces:
- OrmEclipseLinkMappedSuperclass
public interface OrmMappedSuperclass
- extends MappedSuperclass, OrmIdTypeMapping
orm.xml mapped superclass
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
| 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, getInheritanceStrategy, getJavaResourceType, getKey, getName, getNonTransientAttributeMappings, getOverridableAssociationNames, getOverridableAttributeNames, getPrimaryDbTable, getPrimaryTableName, getQueries, getRootEntity, 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.core.resource.orm.XmlMappedSuperclass getXmlTypeMapping()
- Specified by:
getXmlTypeMapping in interface OrmTypeMapping
getJavaTypeMapping
JavaMappedSuperclass 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 OrmTypeMapping
- See Also:
OrmTypeMapping.getJavaTypeMappingForDefaults()
getJavaTypeMappingForDefaults
JavaMappedSuperclass 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 OrmTypeMapping
- See Also:
OrmTypeMapping.getJavaTypeMapping()
Copyright (c) 2012 Oracle. All rights reserved.