|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.logging.events.cbe.impl.SituationImpl
public class SituationImpl
Interface representing a Situation.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.tptp.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 |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Return a cloned (copy by value) object of this object. |
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. |
java.lang.String |
getCategoryName()
Returns the value of the 'Category Name' attribute. |
SituationType |
getSituationType()
Returns the value of the 'Situation Type' containment reference. |
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)
Sets the value of the ' Category Name'
attribute. |
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)
Sets the value of the ' Situation Type'
containment reference. |
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 Common Base Event specification as described in "Canonical Situation Data Format: The Common Base Event V1.0.1". |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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 SituationreasoningScope - 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)
Situation
Sets the value of the '
Category Name'
attribute.
setCategoryName in interface SituationnewCategoryName - the new value of the 'Category Name' attribute.Situation.getCategoryName()public java.lang.String getCategoryName()
SituationReturns the value of the 'Category Name' attribute.
getCategoryName in interface SituationSituation.setCategoryName(String)
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 SituationreasoningScope - 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 SituationreasoningScope - 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 SituationreasoningScope - 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 SituationreasoningScope - 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 SituationreasoningScope - 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 SituationreasoningScope - 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 SituationreasoningScope - 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 SituationreasoningScope - 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 SituationreasoningScope - 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)
Situation
Sets the value of the '
Situation Type'
containment reference.
setSituationType in interface SituationnewSituationType - the new value of the 'Situation Type' containment
reference.Situation.getSituationType()public SituationType getSituationType()
SituationReturns the value of the 'Situation Type' containment reference.
getSituationType in interface SituationSituation.setSituationType(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 SituationreasoningScope - 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 SituationreasoningScope - 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 java.lang.String toString()
toString in class java.lang.Object
public void validate()
throws ValidationException
validate in interface SituationValidationException - If the event instance does not conform to the Common Base Event specification.public boolean equals(java.lang.Object object)
java.lang.Object's equals() API to
determine if the parameter object is equal to this object.
equals in class java.lang.Objectobject - The java.lang.Object to be compared to this object.
object, otherwise false.Object.equals(java.lang.Object)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
This is a deep copy version, in which all the objects within this object will be copied by value.
clone in class java.lang.Objectjava.lang.CloneNotSupportedException - If a instance variable of this object does not implement the Cloneable interface.public void init()
init in interface Situation
|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||