TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.tptp.symptom.eventwrappers
Class SituationImpl

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.hyades.logging.events.cbe.impl.SerializableImpl
                  extended by org.eclipse.hyades.logging.events.cbe.impl.SituationImpl
                      extended by org.eclipse.tptp.symptom.eventwrappers.SituationImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Situation

public class SituationImpl
extends SituationImpl

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
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.hyades.logging.events.cbe.Situation
AVAILABLE_SITUATION_CATEGORY, CONFIGURE_SITUATION_CATEGORY, CONNECT_SITUATION_CATEGORY, CREATE_SITUATION_CATEGORY, DEPENDENCY_SITUATION_CATEGORY, DESTROY_SITUATION_CATEGORY, FEATURE_SITUATION_CATEGORY, OTHER_SITUATION_CATEGORY, REPORT_SITUATION_CATEGORY, REQUEST_SITUATION_CATEGORY, START_SITUATION_CATEGORY, STOP_SITUATION_CATEGORY
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
SituationImpl(CBESituation situation)
           
 
Method Summary
 org.eclipse.emf.common.util.EList eAdapters()
           
 org.eclipse.emf.common.util.TreeIterator eAllContents()
           
 org.eclipse.emf.ecore.EObject eContainer()
           
 org.eclipse.emf.ecore.EStructuralFeature eContainingFeature()
           
 org.eclipse.emf.ecore.EReference eContainmentFeature()
           
 org.eclipse.emf.common.util.EList eContents()
           
 org.eclipse.emf.common.util.EList eCrossReferences()
           
 boolean eDeliver()
           
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature feature)
           
 boolean eIsProxy()
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eNotify(org.eclipse.emf.common.notify.Notification notification)
           
 org.eclipse.emf.ecore.resource.Resource eResource()
           
 void eSetDeliver(boolean deliver)
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature feature)
           
 java.lang.String getCategoryName()
           
 SituationType getSituationType()
           
 void init()
          Resets the object's properties to their initial (e.g. null) state.
 void setAvailableSituation(java.lang.String reasoningScope, java.lang.String availabilityDisposition, java.lang.String operationDisposition, java.lang.String processingDisposition)
          Sets the value of the situation type as an Available Situation.
 void setCategoryName(java.lang.String value)
           
 void setConfigureSituation(java.lang.String reasoningScope, java.lang.String successDisposition)
          Sets the value of the situation type as a Configure Situation.
 void setConnectSituation(java.lang.String reasoningScope, java.lang.String situationDisposition, java.lang.String successDisposition)
          Sets the value of the situation type as a Connect Situation.
 void setCreateSituation(java.lang.String reasoningScope, java.lang.String successDisposition)
          Sets the value of the situation type as a Create Situation.
 void setDependencySituation(java.lang.String reasoningScope, java.lang.String dependencyDisposition)
          Sets the value of the situation type as a Dependency Situation.
 void setDestroySituation(java.lang.String reasoningScope, java.lang.String successDisposition)
          Sets the value of the situation type as a Destroy Situation.
 void setFeatureSituation(java.lang.String reasoningScope, java.lang.String featureDisposition)
          Sets the value of the situation type as a Feature Situation.
 void setOtherSituation(java.lang.String reasoningScope, java.lang.String any)
          Sets the value of the situation type as an Other Situation.
 void setReportSituation(java.lang.String reasoningScope, java.lang.String reportCategory)
          Sets the value of the situation type as a Report Situation.
 void setRequestSituation(java.lang.String reasoningScope, java.lang.String situationQualifier, java.lang.String successDisposition)
          Sets the value of the situation type as a Request Situation.
 void setSituationType(SituationType value)
           
 void setStartSituation(java.lang.String reasoningScope, java.lang.String situationQualifier, java.lang.String successDisposition)
          Sets the value of the situation type as a Start Situation.
 void setStopSituation(java.lang.String reasoningScope, java.lang.String situationQualifier, java.lang.String successDisposition)
          Sets the value of the situation type as a Stop Situation.
 void validate()
          Checks whether the contents of the instance conform to the Common Base Event specification as described in "Canonical Situation Data Format: The Common Base Event V1.0.1".
 
Methods inherited from class org.eclipse.hyades.logging.events.cbe.impl.SituationImpl
basicSetSituationType, clone, eGet, eInverseRemove, equals, eSet, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eClass, eContainerFeatureID, eInternalContainer, eSetClass, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, 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
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eClass
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Constructor Detail

SituationImpl

public SituationImpl(CBESituation situation)
Method Detail

setAvailableSituation

public void setAvailableSituation(java.lang.String reasoningScope,
                                  java.lang.String availabilityDisposition,
                                  java.lang.String operationDisposition,
                                  java.lang.String processingDisposition)
Description copied from interface: Situation
Sets the value of the situation type as an Available Situation.

It also changes the 'categoryName' attribute to Situation.AVAILABLE_SITUATION_CATEGORY.

Specified by:
setAvailableSituation in interface Situation
Overrides:
setAvailableSituation in class SituationImpl
Parameters:
reasoningScope - reasoning scope for the situation.
availabilityDisposition - availability disposition for the situation.
operationDisposition - operation disposition for the situation.
processingDisposition - processing disposition for the situation.
See Also:
Situation.setAvailableSituation(String, String, String,String)

setCategoryName

public void setCategoryName(java.lang.String value)
Description copied from class: SituationImpl

Specified by:
setCategoryName in interface Situation
Overrides:
setCategoryName in class SituationImpl
Parameters:
value - the new value of the 'Category Name' attribute.
See Also:
Situation.getCategoryName()

getCategoryName

public java.lang.String getCategoryName()
Description copied from class: SituationImpl

Specified by:
getCategoryName in interface Situation
Overrides:
getCategoryName in class SituationImpl
Returns:
the value of the 'Category Name' attribute.
See Also:
Situation.setCategoryName(String), EventPackage.getSituation_CategoryName()

setConfigureSituation

public void setConfigureSituation(java.lang.String reasoningScope,
                                  java.lang.String successDisposition)
Description copied from interface: Situation
Sets the value of the situation type as a Configure Situation.

It also changes the 'categoryName' attribute to Situation.CONFIGURE_SITUATION_CATEGORY.

Specified by:
setConfigureSituation in interface Situation
Overrides:
setConfigureSituation in class SituationImpl
Parameters:
reasoningScope - reasoning scope for the situation.
successDisposition - success disposition for the new situation.
See Also:
Situation.setConfigureSituation(String,String)

setConnectSituation

public void setConnectSituation(java.lang.String reasoningScope,
                                java.lang.String situationDisposition,
                                java.lang.String successDisposition)
Description copied from interface: Situation
Sets the value of the situation type as a Connect Situation.

It also changes the 'categoryName' attribute to Situation.CONNECT_SITUATION_CATEGORY.

Specified by:
setConnectSituation in interface Situation
Overrides:
setConnectSituation in class SituationImpl
Parameters:
reasoningScope - reasoning scope for the situation.
situationDisposition - situation disposition for the new situation.
successDisposition - success disposition for the new situation.
See Also:
Situation.setConnectSituation(String, String,String)

setCreateSituation

public void setCreateSituation(java.lang.String reasoningScope,
                               java.lang.String successDisposition)
Description copied from interface: Situation
Sets the value of the situation type as a Create Situation.

It also changes the 'categoryName' attribute to Situation.CREATE_SITUATION_CATEGORY.

Specified by:
setCreateSituation in interface Situation
Overrides:
setCreateSituation in class SituationImpl
Parameters:
reasoningScope - reasoning scope for the situation.
successDisposition - success disposition for the new situation.
See Also:
Situation.setCreateSituation(String,String)

setDependencySituation

public void setDependencySituation(java.lang.String reasoningScope,
                                   java.lang.String dependencyDisposition)
Description copied from interface: Situation
Sets the value of the situation type as a Dependency Situation.

It also changes the 'categoryName' attribute to Situation.DEPENDENCY_SITUATION_CATEGORY.

Specified by:
setDependencySituation in interface Situation
Overrides:
setDependencySituation in class SituationImpl
Parameters:
reasoningScope - reasoning scope for the situation.
dependencyDisposition - dependency disposition for the new situation.
See Also:
Situation.setDependencySituation(String,String)

setDestroySituation

public void setDestroySituation(java.lang.String reasoningScope,
                                java.lang.String successDisposition)
Description copied from interface: Situation
Sets the value of the situation type as a Destroy Situation.

It also changes the 'categoryName' attribute to Situation.DESTROY_SITUATION_CATEGORY.

Specified by:
setDestroySituation in interface Situation
Overrides:
setDestroySituation in class SituationImpl
Parameters:
reasoningScope - reasoning scope for the situation.
successDisposition - success disposition for the new situation.
See Also:
Situation.setDestroySituation(String,String)

setFeatureSituation

public void setFeatureSituation(java.lang.String reasoningScope,
                                java.lang.String featureDisposition)
Description copied from interface: Situation
Sets the value of the situation type as a Feature Situation.

It also changes the 'categoryName' attribute to Situation.FEATURE_SITUATION_CATEGORY.

Specified by:
setFeatureSituation in interface Situation
Overrides:
setFeatureSituation in class SituationImpl
Parameters:
reasoningScope - reasoning scope for the situation.
featureDisposition - feature disposition for the new situation.
See Also:
Situation.setFeatureSituation(String,String)

setOtherSituation

public void setOtherSituation(java.lang.String reasoningScope,
                              java.lang.String any)
Description copied from interface: Situation
Sets the value of the situation type as an Other Situation.

It also changes the 'categoryName' attribute to Situation.OTHER_SITUATION_CATEGORY.

Specified by:
setOtherSituation in interface Situation
Overrides:
setOtherSituation in class SituationImpl
Parameters:
reasoningScope - reasoning scope for the situation.
any - value for the new situation.
See Also:
Situation.setOtherSituation(String,String)

setReportSituation

public void setReportSituation(java.lang.String reasoningScope,
                               java.lang.String reportCategory)
Description copied from interface: Situation
Sets the value of the situation type as a Report Situation.

It also changes the 'categoryName' attribute to Situation.REPORT_SITUATION_CATEGORY.

Specified by:
setReportSituation in interface Situation
Overrides:
setReportSituation in class SituationImpl
Parameters:
reasoningScope - reasoning scope for the situation.
reportCategory - report category for the new situation.
See Also:
Situation.setReportSituation(String,String)

setRequestSituation

public void setRequestSituation(java.lang.String reasoningScope,
                                java.lang.String situationQualifier,
                                java.lang.String successDisposition)
Description copied from interface: Situation
Sets the value of the situation type as a Request Situation.

It also changes the 'categoryName' attribute to Situation.REQUEST_SITUATION_CATEGORY.

Specified by:
setRequestSituation in interface Situation
Overrides:
setRequestSituation in class SituationImpl
Parameters:
reasoningScope - reasoning scope for the situation.
situationQualifier - situation qualifier for the new situation.
successDisposition - success disposition for the new situation.
See Also:
Situation.setRequestSituation(String, String,String)

setSituationType

public void setSituationType(SituationType value)
Description copied from class: SituationImpl

Specified by:
setSituationType in interface Situation
Overrides:
setSituationType in class SituationImpl
Parameters:
value - the new value of the 'Situation Type' containment reference.
See Also:
Situation.getSituationType()

getSituationType

public SituationType getSituationType()
Description copied from class: SituationImpl

Specified by:
getSituationType in interface Situation
Overrides:
getSituationType in class SituationImpl
Returns:
the value of the 'Situation Type' containment reference.
See Also:
Situation.setSituationType(SituationType), EventPackage.getSituation_SituationType()

setStartSituation

public void setStartSituation(java.lang.String reasoningScope,
                              java.lang.String situationQualifier,
                              java.lang.String successDisposition)
Description copied from interface: Situation
Sets the value of the situation type as a Start Situation.

It also changes the 'categoryName' attribute to Situation.START_SITUATION_CATEGORY.

Specified by:
setStartSituation in interface Situation
Overrides:
setStartSituation in class SituationImpl
Parameters:
reasoningScope - reasoning scope for the situation.
situationQualifier - situation qualifier for the new situation.
successDisposition - sucess disposition for the new situation.
See Also:
Situation.setStartSituation(String, String,String)

setStopSituation

public void setStopSituation(java.lang.String reasoningScope,
                             java.lang.String situationQualifier,
                             java.lang.String successDisposition)
Description copied from interface: Situation
Sets the value of the situation type as a Stop Situation.

It also changes the 'categoryName' attribute to Situation.STOP_SITUATION_CATEGORY.

Specified by:
setStopSituation in interface Situation
Overrides:
setStopSituation in class SituationImpl
Parameters:
reasoningScope - reasoning scope for the situation.
situationQualifier - situation qualifier for the new situation.
successDisposition - success disposition for the new situation.
See Also:
Situation.setStopSituation(String, String,String)

validate

public void validate()
              throws ValidationException
Description copied from class: SituationImpl
Checks whether the contents of the instance conform to the Common Base Event specification as described in "Canonical Situation Data Format: The Common Base Event V1.0.1".

Specified by:
validate in interface Situation
Overrides:
validate in class SituationImpl
Throws:
ValidationException - If the event instance does not conform to the Common Base Event specification.

init

public void init()
Description copied from class: SituationImpl
Resets the object's properties to their initial (e.g. null) state. All components are initialized to either zero or null.

Specified by:
init in interface Situation
Overrides:
init in class SituationImpl

eResource

public org.eclipse.emf.ecore.resource.Resource eResource()
Specified by:
eResource in interface org.eclipse.emf.ecore.EObject
Overrides:
eResource in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eContainer

public org.eclipse.emf.ecore.EObject eContainer()
Specified by:
eContainer in interface org.eclipse.emf.ecore.EObject
Overrides:
eContainer in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eContainingFeature

public org.eclipse.emf.ecore.EStructuralFeature eContainingFeature()
Specified by:
eContainingFeature in interface org.eclipse.emf.ecore.EObject
Overrides:
eContainingFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eContainmentFeature

public org.eclipse.emf.ecore.EReference eContainmentFeature()
Specified by:
eContainmentFeature in interface org.eclipse.emf.ecore.EObject
Overrides:
eContainmentFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eContents

public org.eclipse.emf.common.util.EList eContents()
Specified by:
eContents in interface org.eclipse.emf.ecore.EObject
Overrides:
eContents in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eAllContents

public org.eclipse.emf.common.util.TreeIterator eAllContents()
Specified by:
eAllContents in interface org.eclipse.emf.ecore.EObject
Overrides:
eAllContents in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsProxy

public boolean eIsProxy()
Specified by:
eIsProxy in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsProxy in class org.eclipse.emf.ecore.impl.EObjectImpl

eCrossReferences

public org.eclipse.emf.common.util.EList eCrossReferences()
Specified by:
eCrossReferences in interface org.eclipse.emf.ecore.EObject
Overrides:
eCrossReferences in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature feature)
Specified by:
eGet in interface org.eclipse.emf.ecore.EObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Description copied from class: SituationImpl

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class SituationImpl

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature feature)
Description copied from class: SituationImpl

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class SituationImpl

eAdapters

public org.eclipse.emf.common.util.EList eAdapters()
Specified by:
eAdapters in interface org.eclipse.emf.common.notify.Notifier
Overrides:
eAdapters in class org.eclipse.emf.ecore.impl.EObjectImpl

eDeliver

public boolean eDeliver()
Specified by:
eDeliver in interface org.eclipse.emf.common.notify.Notifier
Overrides:
eDeliver in class org.eclipse.emf.ecore.impl.EObjectImpl

eSetDeliver

public void eSetDeliver(boolean deliver)
Specified by:
eSetDeliver in interface org.eclipse.emf.common.notify.Notifier
Overrides:
eSetDeliver in class org.eclipse.emf.ecore.impl.EObjectImpl

eNotify

public void eNotify(org.eclipse.emf.common.notify.Notification notification)
Specified by:
eNotify in interface org.eclipse.emf.common.notify.Notifier
Overrides:
eNotify in class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

TPTP 4.5.0 Platform Project
Public API Specification