org.eclipse.jpt.core.context
Interface NonOwningMapping

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

public interface NonOwningMapping
extends RelationshipMapping

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 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> candidateMappedByAttributeNames()
           
 java.lang.String getMappedBy()
           
 boolean mappedByIsValid(AttributeMapping mappedByMapping)
           
 void setMappedBy(java.lang.String value)
           
 
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

MAPPED_BY_PROPERTY

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

getMappedBy

java.lang.String getMappedBy()

setMappedBy

void setMappedBy(java.lang.String value)

candidateMappedByAttributeNames

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

mappedByIsValid

boolean mappedByIsValid(AttributeMapping mappedByMapping)