org.eclipse.hyades.logging.events
Class OtherSituationImpl

java.lang.Object
  |
  +--org.eclipse.hyades.logging.events.SituationTypeImpl
        |
        +--org.eclipse.hyades.logging.events.OtherSituationImpl
All Implemented Interfaces:
java.lang.Cloneable, IOtherSituation, ISituationType, java.io.Serializable

public class OtherSituationImpl
extends SituationTypeImpl
implements IOtherSituation, java.io.Serializable, java.lang.Cloneable

The OtherSituation category is to provide support for the situation that is product specific requirement other than the predefined categories.

Since:
1.0.1
Version:
1.0.1
Author:
Richard K. Duggan, Paul E. Slauenwhite
See Also:
IStartSituation, IOtherSituation, Serialized Form

Field Summary
protected  java.lang.String[] anyData
           
 
Fields inherited from class org.eclipse.hyades.logging.events.SituationTypeImpl
reasoningScope
 
Constructor Summary
protected OtherSituationImpl()
          No-argument protected constructor for OtherSituationImpl.
 
Method Summary
 java.lang.Object clone()
          Return a clone (copy by value) 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[] getAnyData()
          Returns the anyData.
 void init()
          Resets the object's properties to their initial (e.g.
 void setAnyData(java.lang.String[] anyData)
          Sets the anyData.
 
Methods inherited from class org.eclipse.hyades.logging.events.SituationTypeImpl
getReasoningScope, setReasoningScope
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.logging.events.ISituationType
getReasoningScope, setReasoningScope
 

Field Detail

anyData

protected java.lang.String[] anyData
Constructor Detail

OtherSituationImpl

protected OtherSituationImpl()
No-argument protected constructor for OtherSituationImpl.

Method Detail

getAnyData

public java.lang.String[] getAnyData()
Returns the anyData. Any other situation that is product specific requirement other than the predefined categories.

Specified by:
getAnyData in interface IOtherSituation
Returns:
String The returned anyData.
Since:
1.0.1

setAnyData

public void setAnyData(java.lang.String[] anyData)
Sets the anyData. Any other situation that is product specific requirement other than the predefined categories.

Specified by:
setAnyData in interface IOtherSituation
Parameters:
anyData - The anyData to be set.
Since:
1.0.1

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)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Return a clone (copy by value) of this 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 The clone of this object.
java.lang.CloneNotSupportedException

init

public void init()
Resets the object's properties to their initial (e.g. null) state.

Specified by:
init in interface ISituationType
Overrides:
init in class SituationTypeImpl
See Also:
ISituationType.init()