org.eclipse.jpt.jpa.core.context.java
Interface JavaTypeMapping
- All Superinterfaces:
- IAdaptable, JpaContextModel, JpaModel, JptResourceTypeReference, Model, TypeMapping
- All Known Subinterfaces:
- EclipseLinkJavaEmbeddable, EclipseLinkJavaEntity, EclipseLinkJavaMappedSuperclass, EclipseLinkJavaNonEmbeddableTypeMapping, EclipseLinkJavaTypeMapping, JavaEmbeddable, JavaEntity, JavaEntity2_0, JavaIdTypeMapping, JavaMappedSuperclass
public interface JavaTypeMapping
- extends TypeMapping
Java type mapping
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.TypeMapping |
attributeIsDerivedId, attributeMappingKeyAllowed, getAllAssociatedTableNames, getAllAssociatedTables, getAllAttributeMappings, getAllAttributeMappings, getAllOverridableAssociationNames, getAllOverridableAttributeNames, getAssociatedTables, 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.JpaContextModel |
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
getMappingAnnotation
Annotation getMappingAnnotation()
getPersistentType
JavaPersistentType getPersistentType()
- Specified by:
getPersistentType in interface TypeMapping
getAttributeMappings
Iterable<JavaAttributeMapping> getAttributeMappings()
- Description copied from interface:
TypeMapping
- A convenience method for getting the attribute mappings from PersistentType.attributes()
- Specified by:
getAttributeMappings in interface TypeMapping
getAttributeMappings
Iterable<JavaAttributeMapping> getAttributeMappings(String mappingKey)
- Description copied from interface:
TypeMapping
- Return attribute mappings of a particular mapping type that are declared on this type mapping
- Specified by:
getAttributeMappings in interface TypeMapping
Copyright (c) 2012 Oracle. All rights reserved.