Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.jpa2.context
Interface DerivableIdMapping2_0

All Superinterfaces:
AttributeMapping, AttributeMapping2_0, IAdaptable, JpaContextNode, JpaNode, JptResourceTypeReference, Model
All Known Subinterfaces:
EclipseLinkIdMapping2_0, EmbeddedIdMapping2_0, IdMapping2_0

public interface DerivableIdMapping2_0
extends AttributeMapping2_0

JPA 2.0 attribute 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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping
AttributeMapping.GeneratorsTransformer, AttributeMapping.IsNotTransient, AttributeMapping.IsOverridableAssociationMapping, AttributeMapping.KeyEquals, AttributeMapping.NameTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static String DERIVED_PROPERTY
          Property string associated with changes to the derivable flag.
 
Fields inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.AttributeMapping2_0
STANDARD_METAMODEL_FIELD_MODIFIERS
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping
DEFAULT_PROPERTY, GENERATORS_TRANSFORMER, IS_NOT_TRANSIENT, IS_OVERRIDABLE_ASSOCIATION_MAPPING, NAME_TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
Method Summary
 boolean isDerived()
          Return whether the ID (or embedded ID) mapping is derived from a relationship; i.e. a relationship maps the ID using the @MapsId annotation.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.AttributeMapping2_0
getMetamodelField, getMetamodelTypeName
 
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.JpaContextNode
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
getResourceType
 

Field Detail

DERIVED_PROPERTY

static final String DERIVED_PROPERTY
Property string associated with changes to the derivable flag.

See Also:
Constant Field Values
Method Detail

isDerived

boolean isDerived()
Return whether the ID (or embedded ID) mapping is derived from a relationship; i.e. a relationship maps the ID using the @MapsId annotation.

NB: There can be several relationships that map the ID (erroneously, of course).


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.