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

All Superinterfaces:
org.eclipse.emf.ecore.EObject, JpaEObject, org.eclipse.emf.common.notify.Notifier, XmlAttributeMapping, XmlRelationshipMapping
All Known Subinterfaces:
XmlManyToOne, XmlOneToOne
All Known Implementing Classes:
XmlManyToOneImpl, XmlOneToOneImpl

public interface XmlSingleRelationshipMapping
extends XmlRelationshipMapping

A representation of the model object 'Single 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.getXmlSingleRelationshipMapping()

Method Summary
 org.eclipse.emf.common.util.EList<XmlJoinColumn> getJoinColumns()
          Returns the value of the 'Join Columns' containment reference list.
 java.lang.Boolean getOptional()
          Returns the value of the 'Optional' attribute.
 void setOptional(java.lang.Boolean value)
          Sets the value of the 'Optional' 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

getOptional

java.lang.Boolean getOptional()
Returns the value of the 'Optional' attribute.

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

Returns:
the value of the 'Optional' attribute.
See Also:
setOptional(Boolean), OrmPackage.getXmlSingleRelationshipMapping_Optional()

setOptional

void setOptional(java.lang.Boolean value)
Sets the value of the 'Optional' attribute.

Parameters:
value - the new value of the 'Optional' attribute.
See Also:
getOptional()

getJoinColumns

org.eclipse.emf.common.util.EList<XmlJoinColumn> getJoinColumns()
Returns the value of the 'Join Columns' containment reference list. The list contents are of type XmlJoinColumn.

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

Returns:
the value of the 'Join Columns' containment reference list.
See Also:
OrmPackage.getXmlSingleRelationshipMapping_JoinColumns()