org.eclipse.jpt.jpa.core.resource.orm
Class CascadeType

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.core.resource.orm.CascadeType
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, XmlCascadeType_2_0, JpaEObject

public class CascadeType
extends AbstractJpaEObject
implements XmlCascadeType_2_0

A representation of the model object 'Cascade Type'. 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.getCascadeType()

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
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)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 boolean isCascadeAll()
          Returns the value of the 'Cascade All' attribute.
 boolean isCascadeDetach()
          Returns the value of the 'Cascade Detach' attribute.
 boolean isCascadeMerge()
          Returns the value of the 'Cascade Merge' attribute.
 boolean isCascadePersist()
          Returns the value of the 'Cascade Persist' attribute.
 boolean isCascadeRefresh()
          Returns the value of the 'Cascade Refresh' attribute.
 boolean isCascadeRemove()
          Returns the value of the 'Cascade Remove' attribute.
 void setCascadeAll(boolean newCascadeAll)
          Sets the value of the 'Cascade All' attribute.
 void setCascadeDetach(boolean newCascadeDetach)
          Sets the value of the 'Cascade Detach' attribute.
 void setCascadeMerge(boolean newCascadeMerge)
          Sets the value of the 'Cascade Merge' attribute.
 void setCascadePersist(boolean newCascadePersist)
          Sets the value of the 'Cascade Persist' attribute.
 void setCascadeRefresh(boolean newCascadeRefresh)
          Sets the value of the 'Cascade Refresh' attribute.
 void setCascadeRemove(boolean newCascadeRemove)
          Sets the value of the 'Cascade Remove' 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, 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

isCascadeDetach

public boolean isCascadeDetach()
Returns the value of the 'Cascade Detach' attribute.

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

Specified by:
isCascadeDetach in interface XmlCascadeType_2_0
Returns:
the value of the 'Cascade Detach' attribute.
See Also:
setCascadeDetach(boolean), org.eclipse.jpt.jpa.core.resource.orm.OrmPackage#getXmlCascadeType_2_0_CascadeDetach()

setCascadeDetach

public void setCascadeDetach(boolean newCascadeDetach)
Sets the value of the 'Cascade Detach' attribute.

Specified by:
setCascadeDetach in interface XmlCascadeType_2_0
Parameters:
value - the new value of the 'Cascade Detach' attribute.
See Also:
isCascadeDetach()

isCascadeAll

public boolean isCascadeAll()
Returns the value of the 'Cascade All' attribute.

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

Returns:
the value of the 'Cascade All' attribute.
See Also:
setCascadeAll(boolean), OrmPackage.getCascadeType_CascadeAll()

setCascadeAll

public void setCascadeAll(boolean newCascadeAll)
Sets the value of the 'Cascade All' attribute.

Parameters:
value - the new value of the 'Cascade All' attribute.
See Also:
isCascadeAll()

isCascadePersist

public boolean isCascadePersist()
Returns the value of the 'Cascade Persist' attribute.

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

Returns:
the value of the 'Cascade Persist' attribute.
See Also:
setCascadePersist(boolean), OrmPackage.getCascadeType_CascadePersist()

setCascadePersist

public void setCascadePersist(boolean newCascadePersist)
Sets the value of the 'Cascade Persist' attribute.

Parameters:
value - the new value of the 'Cascade Persist' attribute.
See Also:
isCascadePersist()

isCascadeMerge

public boolean isCascadeMerge()
Returns the value of the 'Cascade Merge' attribute.

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

Returns:
the value of the 'Cascade Merge' attribute.
See Also:
setCascadeMerge(boolean), OrmPackage.getCascadeType_CascadeMerge()

setCascadeMerge

public void setCascadeMerge(boolean newCascadeMerge)
Sets the value of the 'Cascade Merge' attribute.

Parameters:
value - the new value of the 'Cascade Merge' attribute.
See Also:
isCascadeMerge()

isCascadeRemove

public boolean isCascadeRemove()
Returns the value of the 'Cascade Remove' attribute.

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

Returns:
the value of the 'Cascade Remove' attribute.
See Also:
setCascadeRemove(boolean), OrmPackage.getCascadeType_CascadeRemove()

setCascadeRemove

public void setCascadeRemove(boolean newCascadeRemove)
Sets the value of the 'Cascade Remove' attribute.

Parameters:
value - the new value of the 'Cascade Remove' attribute.
See Also:
isCascadeRemove()

isCascadeRefresh

public boolean isCascadeRefresh()
Returns the value of the 'Cascade Refresh' attribute.

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

Returns:
the value of the 'Cascade Refresh' attribute.
See Also:
setCascadeRefresh(boolean), OrmPackage.getCascadeType_CascadeRefresh()

setCascadeRefresh

public void setCascadeRefresh(boolean newCascadeRefresh)
Sets the value of the 'Cascade Refresh' attribute.

Parameters:
value - the new value of the 'Cascade Refresh' attribute.
See Also:
isCascadeRefresh()

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)