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

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
JavaDerivedIdentity2_0, OrmDerivedIdentity2_0

public interface DerivedIdentity2_0
extends JpaContextNode

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
Version:
2.3

Field Summary
static java.lang.String PREDOMINANT_DERIVED_IDENTITY_STRATEGY_PROPERTY
          String associated with changes to the predominant strategy property
 
Method Summary
 IdDerivedIdentityStrategy2_0 getIdDerivedIdentityStrategy()
          Return the aggregate (never null) id strategy
 SingleRelationshipMapping2_0 getMapping()
           
 MapsIdDerivedIdentityStrategy2_0 getMapsIdDerivedIdentityStrategy()
          Return the aggregate (never null) maps id derived identity strategy
 DerivedIdentityStrategy2_0 getPredominantDerivedIdentityStrategy()
          Return the predominant joining strategy, this should not be null
 void setIdDerivedIdentityStrategy()
          Sets the id derived identity strategy.
 void setMapsIdDerivedIdentityStrategy()
          Sets the maps id derived identity strategy.
 void setNullDerivedIdentityStrategy()
          Sets it so that there is no derived identity strategy.
 void unsetIdDerivedIdentityStrategy()
          Unsets the id derived identity strategy.
 void unsetMapsIdDerivedIdentityStrategy()
          Unsets the maps id derived identity strategy.
 boolean usesIdDerivedIdentityStrategy()
          Return whether id is the strategy currently used by this object
 boolean usesMapsIdDerivedIdentityStrategy()
          Return whether maps id is the strategy currently used by this object
 boolean usesNullDerivedIdentityStrategy()
          Return whether there is no derived identity strategy
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.core.IResourcePart
getResource
 

Field Detail

PREDOMINANT_DERIVED_IDENTITY_STRATEGY_PROPERTY

static final java.lang.String PREDOMINANT_DERIVED_IDENTITY_STRATEGY_PROPERTY
String associated with changes to the predominant strategy property

See Also:
Constant Field Values
Method Detail

getMapping

SingleRelationshipMapping2_0 getMapping()

getPredominantDerivedIdentityStrategy

DerivedIdentityStrategy2_0 getPredominantDerivedIdentityStrategy()
Return the predominant joining strategy, this should not be null


usesNullDerivedIdentityStrategy

boolean usesNullDerivedIdentityStrategy()
Return whether there is no derived identity strategy


setNullDerivedIdentityStrategy

void setNullDerivedIdentityStrategy()
Sets it so that there is no derived identity strategy. This will unset all other strategies.


getIdDerivedIdentityStrategy

IdDerivedIdentityStrategy2_0 getIdDerivedIdentityStrategy()
Return the aggregate (never null) id strategy


usesIdDerivedIdentityStrategy

boolean usesIdDerivedIdentityStrategy()
Return whether id is the strategy currently used by this object


setIdDerivedIdentityStrategy

void setIdDerivedIdentityStrategy()
Sets the id derived identity strategy. This will unset all other strategies.


unsetIdDerivedIdentityStrategy

void unsetIdDerivedIdentityStrategy()
Unsets the id derived identity strategy. This will not set any other strategy, so whichever other strategy is present (or the null strategy) will apply at that point.


getMapsIdDerivedIdentityStrategy

MapsIdDerivedIdentityStrategy2_0 getMapsIdDerivedIdentityStrategy()
Return the aggregate (never null) maps id derived identity strategy


usesMapsIdDerivedIdentityStrategy

boolean usesMapsIdDerivedIdentityStrategy()
Return whether maps id is the strategy currently used by this object


setMapsIdDerivedIdentityStrategy

void setMapsIdDerivedIdentityStrategy()
Sets the maps id derived identity strategy. This will unset all other strategies.


unsetMapsIdDerivedIdentityStrategy

void unsetMapsIdDerivedIdentityStrategy()
Unsets the maps id derived identity strategy. This will not set any other strategy, so whichever other strategy is present (or the null strategy) will apply at that point.