org.eclipse.jpt.jpa.core.jpa2.context
Interface ConvertibleKeyMapping2_0
- All Superinterfaces:
- AttributeMapping, AttributeMapping2_0, IAdaptable, JpaContextModel, JpaModel, JptResourceTypeReference, Model
- All Known Subinterfaces:
- CollectionMapping2_0, EclipseLinkElementCollectionMapping2_0, EclipseLinkManyToManyMapping2_0, EclipseLinkOneToManyMapping2_0, ElementCollectionMapping2_0, JavaCollectionMapping2_0, JavaConvertibleKeyMapping2_0, JavaElementCollectionMapping2_0, ManyToManyMapping2_0, MultiRelationshipMapping2_0, OneToManyMapping2_0, OrmCollectionMapping2_0, OrmConvertibleKeyMapping2_0, OrmElementCollectionMapping2_0
public interface ConvertibleKeyMapping2_0
- extends AttributeMapping2_0
JPA attribute mapping that has a map key converter (JPA 2.0 collection mappings)
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:
- 3.1
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping |
getAllMappingNames, getAllOverridableAssociationMappingNames, getAllOverridableAttributeMappingNames, getGenerators, getKey, getName, getPersistentAttribute, getPrimaryKeyColumnName, getTypeMapping, isDefault, isOverridableAssociationMapping, isOverridableAttributeMapping, isOwnedBy, isRelationshipOwner, resolveAttributeMapping, resolveOverriddenColumn, resolveOverriddenRelationship, validatesAgainstDatabase |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel |
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
MAP_KEY_CONVERTER_PROPERTY
static final String MAP_KEY_CONVERTER_PROPERTY
- See Also:
- Constant Field Values
getMapKeyConverter
Converter getMapKeyConverter()
- Return the mapping's key converter. Never
null.
setMapKeyConverter
void setMapKeyConverter(Class<? extends Converter> converterType)
- Set the key converter type, adding the appropriate converter to the resource
model and removing any other converters. Clear all converters if the
specified type is
null.
Copyright (c) 2012 Oracle. All rights reserved.