org.eclipse.jpt.core.resource.orm
Interface XmlMultiRelationshipMapping

All Superinterfaces:
org.eclipse.emf.ecore.EObject, JpaEObject, org.eclipse.emf.common.notify.Notifier, XmlAttributeMapping, XmlRelationshipMapping
All Known Subinterfaces:
XmlManyToMany, XmlOneToMany
All Known Implementing Classes:
XmlManyToManyImpl, XmlOneToManyImpl

public interface XmlMultiRelationshipMapping
extends XmlRelationshipMapping

A representation of the model object 'Multi Relationship 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.

The following features are supported:

See Also:
OrmPackage.getXmlMultiRelationshipMapping()

Method Summary
 MapKey getMapKey()
          Returns the value of the 'Map Key' containment reference.
 java.lang.String getMappedBy()
          Returns the value of the 'Mapped By' attribute.
 TextRange getMappedByTextRange()
           
 java.lang.String getOrderBy()
          Returns the value of the 'Order By' attribute.
 void setMapKey(MapKey value)
          Sets the value of the 'Map Key' containment reference.
 void setMappedBy(java.lang.String value)
          Sets the value of the 'Mapped By' attribute.
 void setOrderBy(java.lang.String value)
          Sets the value of the 'Order By' attribute.
 
Methods inherited from interface org.eclipse.jpt.core.resource.orm.XmlRelationshipMapping
getCascade, getFetch, getJoinTable, getTargetEntity, setCascade, setFetch, setJoinTable, setTargetEntity
 
Methods inherited from interface org.eclipse.jpt.core.resource.orm.XmlAttributeMapping
getName, getNameTextRange, setName
 
Methods inherited from interface org.eclipse.jpt.core.resource.common.JpaEObject
containsOffset, getPlatformResource, getResource, getRoot, getSelectionTextRange, getValidationTextRange, isAllFeaturesUnset
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getOrderBy

java.lang.String getOrderBy()
Returns the value of the 'Order By' attribute.

If the meaning of the 'Order By' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Order By' attribute.
See Also:
setOrderBy(String), OrmPackage.getXmlMultiRelationshipMapping_OrderBy()

setOrderBy

void setOrderBy(java.lang.String value)
Sets the value of the 'Order By' attribute.

Parameters:
value - the new value of the 'Order By' attribute.
See Also:
getOrderBy()

getMapKey

MapKey getMapKey()
Returns the value of the 'Map Key' containment reference.

If the meaning of the 'Map Key' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Map Key' containment reference.
See Also:
setMapKey(MapKey), OrmPackage.getXmlMultiRelationshipMapping_MapKey()

setMapKey

void setMapKey(MapKey value)
Sets the value of the 'Map Key' containment reference.

Parameters:
value - the new value of the 'Map Key' containment reference.
See Also:
getMapKey()

getMappedBy

java.lang.String getMappedBy()
Returns the value of the 'Mapped By' attribute.

If the meaning of the 'Mapped By' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Mapped By' attribute.
See Also:
setMappedBy(String), OrmPackage.getXmlMultiRelationshipMapping_MappedBy()

setMappedBy

void setMappedBy(java.lang.String value)
Sets the value of the 'Mapped By' attribute.

Parameters:
value - the new value of the 'Mapped By' attribute.
See Also:
getMappedBy()

getMappedByTextRange

TextRange getMappedByTextRange()