Dali Provisional API
Release 3.2

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

All Superinterfaces:
IAdaptable, JpaContextModel, JpaModel, JptResourceTypeReference, Model
All Known Subinterfaces:
JavaDerivedIdentity2_0, OrmDerivedIdentity2_0

public interface DerivedIdentity2_0
extends JpaContextModel

Derived identity

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.3

Nested Class Summary
static class DerivedIdentity2_0.MapsIdDerivedIdentityStrategyTransformer
           
static class DerivedIdentity2_0.UsesIdDerivedIdentityStrategy
           
static class DerivedIdentity2_0.UsesMapsIdDerivedIdentityStrategy
           
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel
JpaModel.JpaVersionIsCompatibleWith
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static org.eclipse.jpt.common.utility.transformer.Transformer<DerivedIdentity2_0,MapsIdDerivedIdentityStrategy2_0> MAPS_ID_DERIVED_IDENTITY_STRATEGY_TRANSFORMER
           
static String PREDOMINANT_DERIVED_IDENTITY_STRATEGY_PROPERTY
          String associated with changes to the predominant derived identity strategy property.
static org.eclipse.jpt.common.utility.predicate.Predicate<DerivedIdentity2_0> USES_ID_DERIVED_IDENTITY_STRATEGY
           
static org.eclipse.jpt.common.utility.predicate.Predicate<DerivedIdentity2_0> USES_MAPS_ID_DERIVED_IDENTITY_STRATEGY
           
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Method Summary
 IdDerivedIdentityStrategy2_0 getIdDerivedIdentityStrategy()
          Return the mapping's ID strategy.
 SingleRelationshipMapping2_0 getMapping()
          Return the associated single relationship mapping.
 MapsIdDerivedIdentityStrategy2_0 getMapsIdDerivedIdentityStrategy()
          Return the mapping's "maps ID" strategy.
 DerivedIdentityStrategy2_0 getPredominantDerivedIdentityStrategy()
          Return the mapping's predominant strategy.
 void setIdDerivedIdentityStrategy()
          Configure the mapping so it has an ID strategy.
 void setMapsIdDerivedIdentityStrategy()
          Configure the mapping so it has a "maps ID" strategy.
 void setNullDerivedIdentityStrategy()
          Configure the mapping so it has no strategy.
 boolean usesIdDerivedIdentityStrategy()
          Return whether the mapping uses an ID strategy.
 boolean usesMapsIdDerivedIdentityStrategy()
          Return whether the mapping uses a "maps ID" strategy.
 boolean usesNullDerivedIdentityStrategy()
          Return whether the mapping has no strategy.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel
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

PREDOMINANT_DERIVED_IDENTITY_STRATEGY_PROPERTY

static final String PREDOMINANT_DERIVED_IDENTITY_STRATEGY_PROPERTY
String associated with changes to the predominant derived identity strategy property.

See Also:
Constant Field Values

USES_ID_DERIVED_IDENTITY_STRATEGY

static final org.eclipse.jpt.common.utility.predicate.Predicate<DerivedIdentity2_0> USES_ID_DERIVED_IDENTITY_STRATEGY

MAPS_ID_DERIVED_IDENTITY_STRATEGY_TRANSFORMER

static final org.eclipse.jpt.common.utility.transformer.Transformer<DerivedIdentity2_0,MapsIdDerivedIdentityStrategy2_0> MAPS_ID_DERIVED_IDENTITY_STRATEGY_TRANSFORMER

USES_MAPS_ID_DERIVED_IDENTITY_STRATEGY

static final org.eclipse.jpt.common.utility.predicate.Predicate<DerivedIdentity2_0> USES_MAPS_ID_DERIVED_IDENTITY_STRATEGY
Method Detail

getMapping

SingleRelationshipMapping2_0 getMapping()
Return the associated single relationship mapping.


getPredominantDerivedIdentityStrategy

DerivedIdentityStrategy2_0 getPredominantDerivedIdentityStrategy()
Return the mapping's predominant strategy.


usesNullDerivedIdentityStrategy

boolean usesNullDerivedIdentityStrategy()
Return whether the mapping has no strategy.


setNullDerivedIdentityStrategy

void setNullDerivedIdentityStrategy()
Configure the mapping so it has no strategy. This will remove all other strategies.


getIdDerivedIdentityStrategy

IdDerivedIdentityStrategy2_0 getIdDerivedIdentityStrategy()
Return the mapping's ID strategy.


usesIdDerivedIdentityStrategy

boolean usesIdDerivedIdentityStrategy()
Return whether the mapping uses an ID strategy.


setIdDerivedIdentityStrategy

void setIdDerivedIdentityStrategy()
Configure the mapping so it has an ID strategy. This will remove all other strategies.


getMapsIdDerivedIdentityStrategy

MapsIdDerivedIdentityStrategy2_0 getMapsIdDerivedIdentityStrategy()
Return the mapping's "maps ID" strategy.


usesMapsIdDerivedIdentityStrategy

boolean usesMapsIdDerivedIdentityStrategy()
Return whether the mapping uses a "maps ID" strategy.


setMapsIdDerivedIdentityStrategy

void setMapsIdDerivedIdentityStrategy()
Configure the mapping so it has a "maps ID" strategy. This will remove all other strategies.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.