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

All Superinterfaces:
ColumnMapping, org.eclipse.emf.ecore.EObject, JpaEObject, org.eclipse.emf.common.notify.Notifier, XmlAttributeMapping, XmlConvertibleMapping
All Known Subinterfaces:
XmlBasic, XmlBasic
All Known Implementing Classes:
XmlBasicImpl, XmlBasicImpl, XmlBasicImpl

public interface XmlBasic
extends XmlAttributeMapping, ColumnMapping, XmlConvertibleMapping

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

Method Summary
 FetchType getFetch()
          Returns the value of the 'Fetch' attribute.
 java.lang.Boolean getOptional()
          Returns the value of the 'Optional' attribute.
 void setFetch(FetchType value)
          Sets the value of the 'Fetch' attribute.
 void setOptional(java.lang.Boolean value)
          Sets the value of the 'Optional' attribute.
 
Methods inherited from interface org.eclipse.jpt.core.resource.orm.XmlAttributeMapping
getMappingKey, getName, getNameTextRange, setName
 
Methods inherited from interface org.eclipse.jpt.core.resource.xml.JpaEObject
containsOffset, getSelectionTextRange, getValidationTextRange, isUnset
 
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
 
Methods inherited from interface org.eclipse.jpt.core.resource.orm.ColumnMapping
getColumn, setColumn
 
Methods inherited from interface org.eclipse.jpt.core.resource.xml.JpaEObject
containsOffset, getSelectionTextRange, getValidationTextRange, isUnset
 
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
 
Methods inherited from interface org.eclipse.jpt.core.resource.orm.XmlConvertibleMapping
getEnumerated, getEnumeratedTextRange, getLobTextRange, getTemporal, getTemporalTextRange, isLob, setEnumerated, setLob, setTemporal
 
Methods inherited from interface org.eclipse.jpt.core.resource.xml.JpaEObject
containsOffset, getSelectionTextRange, getValidationTextRange, isUnset
 
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

getFetch

FetchType getFetch()
Returns the value of the 'Fetch' attribute. The default value is "LAZY". The literals are from the enumeration FetchType.

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

Returns:
the value of the 'Fetch' attribute.
See Also:
FetchType, setFetch(FetchType), OrmPackage.getXmlBasic_Fetch()

setFetch

void setFetch(FetchType value)
Sets the value of the 'Fetch' attribute.

Parameters:
value - the new value of the 'Fetch' attribute.
See Also:
FetchType, getFetch()

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.getXmlBasic_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()