org.eclipse.jpt.core.resource.persistence.v2_0
Interface XmlPersistenceUnit_2_0

All Superinterfaces:
org.eclipse.emf.ecore.EObject, JpaEObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
XmlPersistenceUnit

public interface XmlPersistenceUnit_2_0
extends JpaEObject

A representation of the model object 'Xml Persistence Unit 20'.

The following features are supported:

See Also:
PersistenceV2_0Package.getXmlPersistenceUnit_2_0()

Method Summary
 XmlPersistenceUnitCachingType_2_0 getSharedCacheMode()
          Returns the value of the 'Shared Cache Mode' attribute.
 XmlPersistenceUnitValidationModeType_2_0 getValidationMode()
          Returns the value of the 'Validation Mode' attribute.
 void setSharedCacheMode(XmlPersistenceUnitCachingType_2_0 value)
          Sets the value of the 'Shared Cache Mode' attribute.
 void setValidationMode(XmlPersistenceUnitValidationModeType_2_0 value)
          Sets the value of the 'Validation Mode' attribute.
 
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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getSharedCacheMode

XmlPersistenceUnitCachingType_2_0 getSharedCacheMode()
Returns the value of the 'Shared Cache Mode' attribute. The default value is "UNSPECIFIED". The literals are from the enumeration XmlPersistenceUnitCachingType_2_0.

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

Returns:
the value of the 'Shared Cache Mode' attribute.
See Also:
XmlPersistenceUnitCachingType_2_0, setSharedCacheMode(XmlPersistenceUnitCachingType_2_0), PersistenceV2_0Package.getXmlPersistenceUnit_2_0_SharedCacheMode()

setSharedCacheMode

void setSharedCacheMode(XmlPersistenceUnitCachingType_2_0 value)
Sets the value of the 'Shared Cache Mode' attribute.

Parameters:
value - the new value of the 'Shared Cache Mode' attribute.
See Also:
XmlPersistenceUnitCachingType_2_0, getSharedCacheMode()

getValidationMode

XmlPersistenceUnitValidationModeType_2_0 getValidationMode()
Returns the value of the 'Validation Mode' attribute. The default value is "AUTO". The literals are from the enumeration XmlPersistenceUnitValidationModeType_2_0.

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

Returns:
the value of the 'Validation Mode' attribute.
See Also:
XmlPersistenceUnitValidationModeType_2_0, setValidationMode(XmlPersistenceUnitValidationModeType_2_0), PersistenceV2_0Package.getXmlPersistenceUnit_2_0_ValidationMode()

setValidationMode

void setValidationMode(XmlPersistenceUnitValidationModeType_2_0 value)
Sets the value of the 'Validation Mode' attribute.

Parameters:
value - the new value of the 'Validation Mode' attribute.
See Also:
XmlPersistenceUnitValidationModeType_2_0, getValidationMode()