|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.emf.common.notify.impl.BasicNotifierImpl | +--org.eclipse.emf.ecore.impl.BasicEObjectImpl | +--org.eclipse.emf.ecore.impl.EObjectImpl | +--org.eclipse.hyades.logging.events.cbe.impl.SerializableImpl | +--org.eclipse.hyades.logging.events.cbe.impl.SituationImpl
An implementation of the model object 'Situation'.
Field Summary | |
---|---|
protected static java.lang.String |
CATEGORY_NAME_EDEFAULT
The default value of the ' Category Name ' attribute |
protected java.lang.String |
categoryName
The cached value of the ' Category Name ' attribute |
protected SituationType |
situationType
The cached value of the ' Situation Type ' containment reference |
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.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 | |
---|---|
protected |
SituationImpl()
|
Method Summary | |
---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetSituationType(SituationType newSituationType,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
java.lang.Object |
clone()
return a cloned (copy by value) object. |
java.lang.Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
boolean |
eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
boolean |
equals(java.lang.Object arg0)
|
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 |
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 newCategoryName)
|
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 newSituationType)
|
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. |
java.lang.String |
toString()
|
void |
validate()
Checks whether the contents of the instance conform to the CBE specification. |
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, 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.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 |
protected static final java.lang.String CATEGORY_NAME_EDEFAULT
Category Name
' attribute.
getCategoryName()
protected java.lang.String categoryName
Category Name
' attribute.
getCategoryName()
protected SituationType situationType
Situation Type
' containment reference.
getSituationType()
Constructor Detail |
protected SituationImpl()
Method Detail |
public void setAvailableSituation(java.lang.String reasoningScope, java.lang.String availabilityDisposition, java.lang.String operationDisposition, java.lang.String processingDisposition)
Situation
It also changes the 'categoryName' attribute to Situation.AVAILABLE_SITUATION_CATEGORY
.
setAvailableSituation
in interface Situation
reasoningScope
- reasoning scope for the situation.availabilityDisposition
- availability disposition for the situation.operationDisposition
- operation disposition for the situation.processingDisposition
- processing disposition for the situation.Situation.setAvailableSituation(String, String, String,String)
public void setCategoryName(java.lang.String newCategoryName)
setCategoryName
in interface Situation
newCategoryName
- the new value of the 'Category Name' attribute.Situation.getCategoryName()
public java.lang.String getCategoryName()
getCategoryName
in interface Situation
Situation.setCategoryName(String)
,
EventPackage.getSituation_CategoryName()
public void setConfigureSituation(java.lang.String reasoningScope, java.lang.String successDisposition)
Situation
It also changes the 'categoryName' attribute to Situation.CONFIGURE_SITUATION_CATEGORY
.
setConfigureSituation
in interface Situation
reasoningScope
- reasoning scope for the situation.successDisposition
- success disposition for the new situation.Situation.setConfigureSituation(String,String)
public void setConnectSituation(java.lang.String reasoningScope, java.lang.String situationDisposition, java.lang.String successDisposition)
Situation
It also changes the 'categoryName' attribute to Situation.CONNECT_SITUATION_CATEGORY
.
setConnectSituation
in interface Situation
reasoningScope
- reasoning scope for the situation.situationDisposition
- situation disposition for the new situation.successDisposition
- success disposition for the new situation.Situation.setConnectSituation(String, String,String)
public void setCreateSituation(java.lang.String reasoningScope, java.lang.String successDisposition)
Situation
It also changes the 'categoryName' attribute to Situation.CREATE_SITUATION_CATEGORY
.
setCreateSituation
in interface Situation
reasoningScope
- reasoning scope for the situation.successDisposition
- success disposition for the new situation.Situation.setCreateSituation(String,String)
public void setDependencySituation(java.lang.String reasoningScope, java.lang.String dependencyDisposition)
Situation
It also changes the 'categoryName' attribute to Situation.DEPENDENCY_SITUATION_CATEGORY
.
setDependencySituation
in interface Situation
reasoningScope
- reasoning scope for the situation.dependencyDisposition
- dependency disposition for the new situation.Situation.setDependencySituation(String,String)
public void setDestroySituation(java.lang.String reasoningScope, java.lang.String successDisposition)
Situation
It also changes the 'categoryName' attribute to Situation.DESTROY_SITUATION_CATEGORY
.
setDestroySituation
in interface Situation
reasoningScope
- reasoning scope for the situation.successDisposition
- success disposition for the new situation.Situation.setDestroySituation(String,String)
public void setFeatureSituation(java.lang.String reasoningScope, java.lang.String featureDisposition)
Situation
It also changes the 'categoryName' attribute to Situation.FEATURE_SITUATION_CATEGORY
.
setFeatureSituation
in interface Situation
reasoningScope
- reasoning scope for the situation.featureDisposition
- feature disposition for the new situation.Situation.setFeatureSituation(String,String)
public void setOtherSituation(java.lang.String reasoningScope, java.lang.String any)
Situation
It also changes the 'categoryName' attribute to Situation.OTHER_SITUATION_CATEGORY
.
setOtherSituation
in interface Situation
reasoningScope
- reasoning scope for the situation.any
- value for the new situation.Situation.setOtherSituation(String,String)
public void setReportSituation(java.lang.String reasoningScope, java.lang.String reportCategory)
Situation
It also changes the 'categoryName' attribute to Situation.REPORT_SITUATION_CATEGORY
.
setReportSituation
in interface Situation
reasoningScope
- reasoning scope for the situation.reportCategory
- report category for the new situation.Situation.setReportSituation(String,String)
public void setRequestSituation(java.lang.String reasoningScope, java.lang.String situationQualifier, java.lang.String successDisposition)
Situation
It also changes the 'categoryName' attribute to Situation.REQUEST_SITUATION_CATEGORY
.
setRequestSituation
in interface Situation
reasoningScope
- reasoning scope for the situation.situationQualifier
- situation qualifier for the new situation.successDisposition
- success disposition for the new situation.Situation.setRequestSituation(String, String,String)
public void setSituationType(SituationType newSituationType)
setSituationType
in interface Situation
newSituationType
- the new value of the 'Situation Type' containment reference.Situation.getSituationType()
public SituationType getSituationType()
getSituationType
in interface Situation
Situation.setSituationType(SituationType)
,
EventPackage.getSituation_SituationType()
public void setStartSituation(java.lang.String reasoningScope, java.lang.String situationQualifier, java.lang.String successDisposition)
Situation
It also changes the 'categoryName' attribute to Situation.START_SITUATION_CATEGORY
.
setStartSituation
in interface Situation
reasoningScope
- reasoning scope for the situation.situationQualifier
- situation qualifier for the new situation.successDisposition
- sucess disposition for the new situation.Situation.setStartSituation(String, String,String)
public void setStopSituation(java.lang.String reasoningScope, java.lang.String situationQualifier, java.lang.String successDisposition)
Situation
It also changes the 'categoryName' attribute to Situation.STOP_SITUATION_CATEGORY
.
setStopSituation
in interface Situation
reasoningScope
- reasoning scope for the situation.situationQualifier
- situation qualifier for the new situation.successDisposition
- success disposition for the new situation.Situation.setStopSituation(String, String,String)
public org.eclipse.emf.common.notify.NotificationChain basicSetSituationType(SituationType newSituationType, org.eclipse.emf.common.notify.NotificationChain msgs)
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
eGet
in interface org.eclipse.emf.ecore.EObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in interface org.eclipse.emf.ecore.InternalEObject
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eIsSet
in interface org.eclipse.emf.ecore.EObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.EObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eUnset
in interface org.eclipse.emf.ecore.EObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class SerializableImpl
public void validate() throws ValidationException
validate
in interface Situation
ValidationException
- if the event instance does not follow the
CBE specification.public boolean equals(java.lang.Object arg0)
equals
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void init()
init
in interface Situation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |