org.eclipse.jpt.jpa.eclipselink.core.resource.orm
Class XmlCache

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.jpt.jpa.core.resource.xml.AbstractJpaEObject
                  extended by org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, JpaEObject

public class XmlCache
extends AbstractJpaEObject
implements JpaEObject

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

Since:
2.1

The following features are supported:

Version:
2.1
See Also:
EclipseLinkOrmPackage.getXmlCache()

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetExpiryTimeOfDay(XmlTimeOfDay newExpiryTimeOfDay, org.eclipse.emf.common.notify.NotificationChain msgs)
           
static org.eclipse.wst.common.internal.emf.resource.Translator buildTranslator(java.lang.String elementName, org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.lang.Boolean getAlwaysRefresh()
          Returns the value of the 'Always Refresh' attribute.
 CacheCoordinationType getCoordinationType()
          Returns the value of the 'Coordination Type' attribute.
 java.lang.Boolean getDisableHits()
          Returns the value of the 'Disable Hits' attribute.
 java.lang.Integer getExpiry()
          Returns the value of the 'Expiry' attribute.
 XmlTimeOfDay getExpiryTimeOfDay()
          Returns the value of the 'Expiry Time Of Day' containment reference.
 java.lang.Boolean getRefreshOnlyIfNewer()
          Returns the value of the 'Refresh Only If Newer' attribute.
 java.lang.Boolean getShared()
          Returns the value of the 'Shared' attribute.
 java.lang.Integer getSize()
          Returns the value of the 'Size' attribute.
 CacheType getType()
          Returns the value of the 'Type' attribute.
 void setAlwaysRefresh(java.lang.Boolean newAlwaysRefresh)
          Sets the value of the 'Always Refresh' attribute.
 void setCoordinationType(CacheCoordinationType newCoordinationType)
          Sets the value of the 'Coordination Type' attribute.
 void setDisableHits(java.lang.Boolean newDisableHits)
          Sets the value of the 'Disable Hits' attribute.
 void setExpiry(java.lang.Integer newExpiry)
          Sets the value of the 'Expiry' attribute.
 void setExpiryTimeOfDay(XmlTimeOfDay newExpiryTimeOfDay)
          Sets the value of the 'Expiry Time Of Day' containment reference.
 void setRefreshOnlyIfNewer(java.lang.Boolean newRefreshOnlyIfNewer)
          Sets the value of the 'Refresh Only If Newer' attribute.
 void setShared(java.lang.Boolean newShared)
          Sets the value of the 'Shared' attribute.
 void setSize(java.lang.Integer newSize)
          Sets the value of the 'Size' attribute.
 void setType(CacheType newType)
          Sets the value of the 'Type' attribute.
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.jpt.jpa.core.resource.xml.AbstractJpaEObject
containsOffset, createDeleteEdit, eAdapters, eNotify, getNodeEndOffset, getSelectionTextRange, getValidationTextRange, isUnset
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jpt.jpa.core.resource.xml.JpaEObject
containsOffset, createDeleteEdit, 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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getExpiry

public java.lang.Integer getExpiry()
Returns the value of the 'Expiry' attribute.

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

Returns:
the value of the 'Expiry' attribute.
See Also:
setExpiry(Integer), EclipseLinkOrmPackage.getXmlCache_Expiry()

setExpiry

public void setExpiry(java.lang.Integer newExpiry)
Sets the value of the 'Expiry' attribute.

Parameters:
value - the new value of the 'Expiry' attribute.
See Also:
getExpiry()

getSize

public java.lang.Integer getSize()
Returns the value of the 'Size' attribute.

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

Returns:
the value of the 'Size' attribute.
See Also:
setSize(Integer), EclipseLinkOrmPackage.getXmlCache_Size()

setSize

public void setSize(java.lang.Integer newSize)
Sets the value of the 'Size' attribute.

Parameters:
value - the new value of the 'Size' attribute.
See Also:
getSize()

getShared

public java.lang.Boolean getShared()
Returns the value of the 'Shared' attribute.

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

Returns:
the value of the 'Shared' attribute.
See Also:
setShared(Boolean), EclipseLinkOrmPackage.getXmlCache_Shared()

setShared

public void setShared(java.lang.Boolean newShared)
Sets the value of the 'Shared' attribute.

Parameters:
value - the new value of the 'Shared' attribute.
See Also:
getShared()

getType

public CacheType getType()
Returns the value of the 'Type' attribute. The literals are from the enumeration CacheType.

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

Returns:
the value of the 'Type' attribute.
See Also:
CacheType, setType(CacheType), EclipseLinkOrmPackage.getXmlCache_Type()

setType

public void setType(CacheType newType)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
CacheType, getType()

getAlwaysRefresh

public java.lang.Boolean getAlwaysRefresh()
Returns the value of the 'Always Refresh' attribute.

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

Returns:
the value of the 'Always Refresh' attribute.
See Also:
setAlwaysRefresh(Boolean), EclipseLinkOrmPackage.getXmlCache_AlwaysRefresh()

setAlwaysRefresh

public void setAlwaysRefresh(java.lang.Boolean newAlwaysRefresh)
Sets the value of the 'Always Refresh' attribute.

Parameters:
value - the new value of the 'Always Refresh' attribute.
See Also:
getAlwaysRefresh()

getRefreshOnlyIfNewer

public java.lang.Boolean getRefreshOnlyIfNewer()
Returns the value of the 'Refresh Only If Newer' attribute.

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

Returns:
the value of the 'Refresh Only If Newer' attribute.
See Also:
setRefreshOnlyIfNewer(Boolean), EclipseLinkOrmPackage.getXmlCache_RefreshOnlyIfNewer()

setRefreshOnlyIfNewer

public void setRefreshOnlyIfNewer(java.lang.Boolean newRefreshOnlyIfNewer)
Sets the value of the 'Refresh Only If Newer' attribute.

Parameters:
value - the new value of the 'Refresh Only If Newer' attribute.
See Also:
getRefreshOnlyIfNewer()

getDisableHits

public java.lang.Boolean getDisableHits()
Returns the value of the 'Disable Hits' attribute.

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

Returns:
the value of the 'Disable Hits' attribute.
See Also:
setDisableHits(Boolean), EclipseLinkOrmPackage.getXmlCache_DisableHits()

setDisableHits

public void setDisableHits(java.lang.Boolean newDisableHits)
Sets the value of the 'Disable Hits' attribute.

Parameters:
value - the new value of the 'Disable Hits' attribute.
See Also:
getDisableHits()

getCoordinationType

public CacheCoordinationType getCoordinationType()
Returns the value of the 'Coordination Type' attribute. The default value is "". The literals are from the enumeration CacheCoordinationType.

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

Returns:
the value of the 'Coordination Type' attribute.
See Also:
CacheCoordinationType, setCoordinationType(CacheCoordinationType), EclipseLinkOrmPackage.getXmlCache_CoordinationType()

setCoordinationType

public void setCoordinationType(CacheCoordinationType newCoordinationType)
Sets the value of the 'Coordination Type' attribute.

Parameters:
value - the new value of the 'Coordination Type' attribute.
See Also:
CacheCoordinationType, getCoordinationType()

getExpiryTimeOfDay

public XmlTimeOfDay getExpiryTimeOfDay()
Returns the value of the 'Expiry Time Of Day' containment reference.

If the meaning of the 'Expiry Time Of Day' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Expiry Time Of Day' containment reference.
See Also:
setExpiryTimeOfDay(XmlTimeOfDay), EclipseLinkOrmPackage.getXmlCache_ExpiryTimeOfDay()

basicSetExpiryTimeOfDay

public org.eclipse.emf.common.notify.NotificationChain basicSetExpiryTimeOfDay(XmlTimeOfDay newExpiryTimeOfDay,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setExpiryTimeOfDay

public void setExpiryTimeOfDay(XmlTimeOfDay newExpiryTimeOfDay)
Sets the value of the 'Expiry Time Of Day' containment reference.

Parameters:
value - the new value of the 'Expiry Time Of Day' containment reference.
See Also:
getExpiryTimeOfDay()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

buildTranslator

public static org.eclipse.wst.common.internal.emf.resource.Translator buildTranslator(java.lang.String elementName,
                                                                                      org.eclipse.emf.ecore.EStructuralFeature structuralFeature)