org.eclipse.hyades.logging.events.cbe.impl
Class ReportSituationImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.hyades.logging.events.cbe.impl.SerializableImpl
                  extended byorg.eclipse.hyades.logging.events.cbe.impl.SituationTypeImpl
                      extended byorg.eclipse.hyades.logging.events.cbe.impl.ReportSituationImpl
All Implemented Interfaces:
java.lang.Cloneable, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, ReportSituation, java.io.Serializable, SituationType

public class ReportSituationImpl
extends SituationTypeImpl
implements ReportSituation, java.lang.Cloneable

An implementation of the model object 'Report Situation'.

Since:
1.0.1
Version:
1.0.1
Author:
Denilson Nastacio
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static java.lang.String REPORT_CATEGORY_EDEFAULT
          The default value of the 'Report Category' attribute.
protected  java.lang.String reportCategory
          The cached value of the 'Report Category' attribute.
 
Fields inherited from class org.eclipse.hyades.logging.events.cbe.impl.SituationTypeImpl
DISPOSITION_MAX_LENGTH, REASONING_SCOPE_EDEFAULT, reasoningScope
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected ReportSituationImpl()
           
 
Method Summary
 java.lang.Object clone()
          return a cloned (copy by value) object.
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 boolean equals(java.lang.Object object)
          Overrides the java.lang.Object's equals() API to determine if the parameter object is equal to this object.
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 java.lang.String getReportCategory()
           
 void init()
          Resets the object's properties to their initial (e.g.
 void setReportCategory(java.lang.String newReportCategory)
           
 java.lang.String toString()
           
 void validate()
           Checks whether the contents of the instance conform to the CBE specification.
 
Methods inherited from class org.eclipse.hyades.logging.events.cbe.impl.SituationTypeImpl
getReasoningScope, setReasoningScope
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.logging.events.cbe.SituationType
getReasoningScope, setReasoningScope
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
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

REPORT_CATEGORY_EDEFAULT

protected static final java.lang.String REPORT_CATEGORY_EDEFAULT
The default value of the 'Report Category' attribute.

See Also:
getReportCategory()

reportCategory

protected java.lang.String reportCategory
The cached value of the 'Report Category' attribute.

See Also:
getReportCategory()
Constructor Detail

ReportSituationImpl

protected ReportSituationImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class SituationTypeImpl

getReportCategory

public java.lang.String getReportCategory()

Specified by:
getReportCategory in interface ReportSituation
Returns:
the value of the 'Report Category' attribute.
See Also:
ReportSituation.setReportCategory(String), EventPackage.getReportSituation_ReportCategory()

setReportCategory

public void setReportCategory(java.lang.String newReportCategory)

Specified by:
setReportCategory in interface ReportSituation
Parameters:
newReportCategory - the new value of the 'Report Category' attribute.
See Also:
ReportSituation.getReportCategory()

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)

Specified by:
eGet in interface org.eclipse.emf.ecore.EObject
Overrides:
eGet in class SituationTypeImpl

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class SituationTypeImpl

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

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

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

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

toString

public java.lang.String toString()

Overrides:
toString in class SituationTypeImpl

validate

public void validate()
              throws ValidationException
Description copied from interface: SituationType

Checks whether the contents of the instance conform to the CBE specification.

Specified by:
validate in interface SituationType
Overrides:
validate in class SituationTypeImpl
Throws:
ValidationException - if the event instance does not follow the CBE specification.
See Also:
SituationType.validate()

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
return a cloned (copy by value) object. This is a deep copy version, in which all the objects within this object will be copied by value.

Overrides:
clone in class SituationTypeImpl
Returns:
Object
Throws:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.Object object)
Overrides the java.lang.Object's equals() API to determine if the parameter object is equal to this object.

Overrides:
equals in class SituationTypeImpl
Parameters:
object - The java.lang.Object to be compared to this object.
Returns:
true if this object is the same as the parameter object, false otherwise.
See Also:
Object.equals(java.lang.Object)

init

public void init()
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 ReportSituation
Overrides:
init in class SituationTypeImpl
Since:
1.0