org.eclipse.ocl.examples.emf.validation.validity.impl
Class ResultImpl

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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.ocl.examples.emf.validation.validity.impl.ResultImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, Result

public class ResultImpl
extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
implements Result

An implementation of the model object 'Result'.

The following features are implemented:

Generated

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
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
protected  java.lang.Object diagnostic
          The cached value of the 'Diagnostic' attribute.
protected static java.lang.Object DIAGNOSTIC_EDEFAULT
          The default value of the 'Diagnostic' attribute.
protected  java.lang.Throwable exception
          The cached value of the 'Exception' attribute.
protected static java.lang.Throwable EXCEPTION_EDEFAULT
          The default value of the 'Exception' attribute.
protected  ResultValidatableNode resultValidatableNode
          The cached value of the 'Result Validatable Node' reference.
protected  Severity severity
          The cached value of the 'Severity' attribute.
protected static Severity SEVERITY_EDEFAULT
          The default value of the 'Severity' attribute.
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected ResultImpl()
           
 
Method Summary
 ResultValidatableNode basicGetResultValidatableNode()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetResultSet(ResultSet newResultSet, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 java.lang.Object getDiagnostic()
           
 java.lang.Throwable getException()
           
 LeafConstrainingNode getLeafConstrainingNode()
           
 ResultConstrainingNode getResultConstrainingNode()
           
 ResultSet getResultSet()
           
 ResultValidatableNode getResultValidatableNode()
           
 Severity getSeverity()
           
 ValidatableNode getValidatableNode()
           
 void setDiagnostic(java.lang.Object newDiagnostic)
           
 void setException(java.lang.Throwable newException)
           
 void setResultSet(ResultSet newResultSet)
           
 void setResultValidatableNode(ResultValidatableNode newResultValidatableNode)
           
 void setSeverity(Severity newSeverity)
          Sets the value of the 'Severity' attribute.
 void setSeverityGen(Severity newSeverity)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Field Detail

resultValidatableNode

protected ResultValidatableNode resultValidatableNode
The cached value of the 'Result Validatable Node' reference.

See Also:
getResultValidatableNode()
Generated
Ordered

SEVERITY_EDEFAULT

protected static final Severity SEVERITY_EDEFAULT
The default value of the 'Severity' attribute.

See Also:
getSeverity()
Generated
Ordered

severity

protected Severity severity
The cached value of the 'Severity' attribute.

See Also:
getSeverity()
Generated
Ordered

DIAGNOSTIC_EDEFAULT

protected static final java.lang.Object DIAGNOSTIC_EDEFAULT
The default value of the 'Diagnostic' attribute.

See Also:
getDiagnostic()
Generated
Ordered

diagnostic

protected java.lang.Object diagnostic
The cached value of the 'Diagnostic' attribute.

See Also:
getDiagnostic()
Generated
Ordered

EXCEPTION_EDEFAULT

protected static final java.lang.Throwable EXCEPTION_EDEFAULT
The default value of the 'Exception' attribute.

See Also:
getException()
Generated
Ordered

exception

protected java.lang.Throwable exception
The cached value of the 'Exception' attribute.

See Also:
getException()
Generated
Ordered
Constructor Detail

ResultImpl

protected ResultImpl()

Generated
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

getResultSet

public ResultSet getResultSet()

Specified by:
getResultSet in interface Result
Returns:
the value of the 'Result Set' container reference.
See Also:
Result.setResultSet(ResultSet), ValidityPackage.getResult_ResultSet(), ResultSet.getResults()
Generated

basicSetResultSet

public org.eclipse.emf.common.notify.NotificationChain basicSetResultSet(ResultSet newResultSet,
                                                                         org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setResultSet

public void setResultSet(ResultSet newResultSet)

Specified by:
setResultSet in interface Result
Parameters:
newResultSet - the new value of the 'Result Set' container reference.
See Also:
Result.getResultSet()
Generated

getResultValidatableNode

public ResultValidatableNode getResultValidatableNode()

Specified by:
getResultValidatableNode in interface Result
Returns:
the value of the 'Result Validatable Node' reference.
See Also:
Result.setResultValidatableNode(ResultValidatableNode), ValidityPackage.getResult_ResultValidatableNode()
Generated

basicGetResultValidatableNode

public ResultValidatableNode basicGetResultValidatableNode()

Generated

setResultValidatableNode

public void setResultValidatableNode(ResultValidatableNode newResultValidatableNode)

Specified by:
setResultValidatableNode in interface Result
Parameters:
newResultValidatableNode - the new value of the 'Result Validatable Node' reference.
See Also:
Result.getResultValidatableNode()
Generated

getSeverity

public Severity getSeverity()

Specified by:
getSeverity in interface Result
Returns:
the value of the 'Severity' attribute.
See Also:
Severity, Result.setSeverity(Severity), ValidityPackage.getResult_Severity()
Generated

setSeverityGen

public void setSeverityGen(Severity newSeverity)

Generated

setSeverity

public void setSeverity(Severity newSeverity)
Description copied from interface: Result
Sets the value of the 'Severity' attribute.

Specified by:
setSeverity in interface Result
Parameters:
newSeverity - the new value of the 'Severity' attribute.
See Also:
Severity, Result.getSeverity()

getDiagnostic

public java.lang.Object getDiagnostic()

Specified by:
getDiagnostic in interface Result
Returns:
the value of the 'Diagnostic' attribute.
See Also:
Result.setDiagnostic(Object), ValidityPackage.getResult_Diagnostic()
Generated

setDiagnostic

public void setDiagnostic(java.lang.Object newDiagnostic)

Specified by:
setDiagnostic in interface Result
Parameters:
newDiagnostic - the new value of the 'Diagnostic' attribute.
See Also:
Result.getDiagnostic()
Generated

getValidatableNode

public ValidatableNode getValidatableNode()

Specified by:
getValidatableNode in interface Result
Returns:
the value of the 'Validatable Node' reference.
See Also:
ValidityPackage.getResult_ValidatableNode()
Generated
NOT

getLeafConstrainingNode

@NonNull
public LeafConstrainingNode getLeafConstrainingNode()

Specified by:
getLeafConstrainingNode in interface Result
Returns:
the value of the 'Leaf Constraining Node' reference.
See Also:
ValidityPackage.getResult_LeafConstrainingNode()
Generated
NOT

getResultConstrainingNode

@NonNull
public ResultConstrainingNode getResultConstrainingNode()

Specified by:
getResultConstrainingNode in interface Result
Returns:
the value of the 'Result Constraining Node' reference.
See Also:
ValidityPackage.getResult_ResultConstrainingNode()
Generated
NOT

getException

public java.lang.Throwable getException()

Specified by:
getException in interface Result
Returns:
the value of the 'Exception' attribute.
See Also:
Result.setException(Throwable), ValidityPackage.getResult_Exception()
Generated

setException

public void setException(java.lang.Throwable newException)

Specified by:
setException in interface Result
Parameters:
newException - the new value of the 'Exception' attribute.
See Also:
Result.getException()
Generated

eInverseAdd

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

Overrides:
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

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
Generated

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

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
Generated

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
Generated

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
Generated

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
Generated

toString

public java.lang.String toString()

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