|
TPTP 4.1.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.SituationTypeImpl
org.eclipse.tptp.logging.events.cbe.impl.OtherSituationImpl
Class representing an implementation of an OtherSituation.
The following description is from the Common Base Event v1.0.1 specification entitled "Canonical Situation Data Format: The Common Base Event V1.0.1":
The OtherSituation category is to provide support for the situation that is product specific requirement other than the predefined categories.
| Field Summary | |
|---|---|
protected java.lang.String |
any
The cached value of the ' Any' attribute. |
| Fields inherited from class org.eclipse.tptp.logging.events.cbe.impl.SituationTypeImpl |
|---|
reasoningScope |
| Constructor Summary | |
|---|---|
protected |
OtherSituationImpl()
|
| 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 |
getAny()
|
void |
init()
Resets the object's properties to their initial (e.g. |
void |
setAny(java.lang.String newAny)
|
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 org.eclipse.tptp.logging.events.cbe.impl.SituationTypeImpl |
|---|
getReasoningScope, setReasoningScope |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.tptp.logging.events.cbe.SituationType |
|---|
getReasoningScope, setReasoningScope |
| Field Detail |
protected java.lang.String any
Any' attribute.
getAny()| Constructor Detail |
protected OtherSituationImpl()
| Method Detail |
public java.lang.String getAny()
getAny in interface OtherSituationOtherSituation.setAny(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getOtherSituation_Any()public void setAny(java.lang.String newAny)
setAny in interface OtherSituationnewAny - the new value of the 'Any' attribute.OtherSituation.getAny()public java.lang.String toString()
toString in class SituationTypeImpl
public void validate()
throws ValidationException
validate in interface SituationTypevalidate in class SituationTypeImplValidationException - If the event instance does not conform to the Common Base Event specification.
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 SituationTypeImpljava.lang.CloneNotSupportedException - If a instance variable of this object does not implement the Cloneable interface.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 SituationTypeImplobject - The java.lang.Object to be compared to this object.
object, otherwise false.Object.equals(java.lang.Object)public void init()
init in interface OtherSituationinit in class SituationTypeImpl
|
TPTP 4.1.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||