org.eclipse.jpt.core.context
Interface MultiRelationshipMapping

All Superinterfaces:
AttributeMapping, Fetchable, org.eclipse.core.runtime.IAdaptable, JpaContextNode, JpaNode, Model, NonOwningMapping, RelationshipMapping
All Known Subinterfaces:
JavaManyToManyMapping, JavaMultiRelationshipMapping, JavaOneToManyMapping, ManyToManyMapping, OneToManyMapping, OrmManyToManyMapping, OrmMultiRelationshipMapping, OrmOneToManyMapping

public interface MultiRelationshipMapping
extends NonOwningMapping

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.


Field Summary
static java.lang.String CUSTOM_ORDERING_PROPERTY
           
static FetchType DEFAULT_FETCH_TYPE
           
static java.lang.String MAP_KEY_PROPERTY
           
static java.lang.String NO_ORDERING_PROPERTY
           
static java.lang.String ORDER_BY_PROPERTY
           
static java.lang.String PK_ORDERING_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.core.context.NonOwningMapping
MAPPED_BY_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
DEFAULT_TARGET_ENTITY_PROPERTY, RESOLVED_TARGET_ENTITY_PROPERTY, SPECIFIED_TARGET_ENTITY_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.Fetchable
DEFAULT_FETCH_PROPERTY, SPECIFIED_FETCH_PROPERTY
 
Method Summary
 java.util.Iterator<java.lang.String> candidateMapKeyNames()
           
 JoinTable getJoinTable()
           
 java.lang.String getMapKey()
           
 java.lang.String getOrderBy()
           
 boolean isCustomOrdering()
           
 boolean isJoinTableSpecified()
           
 boolean isNoOrdering()
           
 boolean isPkOrdering()
           
 void setCustomOrdering(boolean newCustomOrdering)
           
 void setMapKey(java.lang.String value)
           
 void setNoOrdering(boolean newNoOrdering)
           
 void setOrderBy(java.lang.String value)
           
 void setPkOrdering(boolean newPkOrdering)
           
 
Methods inherited from interface org.eclipse.jpt.core.context.NonOwningMapping
candidateMappedByAttributeNames, getMappedBy, mappedByIsValid, setMappedBy
 
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
getCascade, getDefaultTargetEntity, getEntity, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, isRelationshipOwner, setSpecifiedTargetEntity, targetEntityIsValid
 
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 

Field Detail

DEFAULT_FETCH_TYPE

static final FetchType DEFAULT_FETCH_TYPE

ORDER_BY_PROPERTY

static final java.lang.String ORDER_BY_PROPERTY
See Also:
Constant Field Values

NO_ORDERING_PROPERTY

static final java.lang.String NO_ORDERING_PROPERTY
See Also:
Constant Field Values

PK_ORDERING_PROPERTY

static final java.lang.String PK_ORDERING_PROPERTY
See Also:
Constant Field Values

CUSTOM_ORDERING_PROPERTY

static final java.lang.String CUSTOM_ORDERING_PROPERTY
See Also:
Constant Field Values

MAP_KEY_PROPERTY

static final java.lang.String MAP_KEY_PROPERTY
See Also:
Constant Field Values
Method Detail

getOrderBy

java.lang.String getOrderBy()

setOrderBy

void setOrderBy(java.lang.String value)

isNoOrdering

boolean isNoOrdering()

setNoOrdering

void setNoOrdering(boolean newNoOrdering)

isPkOrdering

boolean isPkOrdering()

setPkOrdering

void setPkOrdering(boolean newPkOrdering)

isCustomOrdering

boolean isCustomOrdering()

setCustomOrdering

void setCustomOrdering(boolean newCustomOrdering)

getJoinTable

JoinTable getJoinTable()

isJoinTableSpecified

boolean isJoinTableSpecified()

getMapKey

java.lang.String getMapKey()

setMapKey

void setMapKey(java.lang.String value)

candidateMapKeyNames

java.util.Iterator<java.lang.String> candidateMapKeyNames()