org.eclipse.hyades.logging.events
Class ConnectSituationImpl

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

Deprecated. This class is deprecated as of 2004-05-17. Use the corresponding class available in org.eclipse.hyades.logging.events.cbe*

public class ConnectSituationImpl
extends SituationTypeImpl
implements IConnectSituation, java.io.Serializable, java.lang.Cloneable

The ConnectSituation deals with the situations that identify aspects about a connection to another component. Messages that say a connection failed, that a connection was created, or that a connection was ended all fall into this category. Existing messages include words like connection reset, connection failed, and failed to get a connection, for example: DBMN0015W: Failure while creating connection {0} DBMN0033W: connection close failure {0} DBMN0023W: Failed to close a connection {0}

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

Field Summary
protected  java.lang.String situationDisposition
          Deprecated.  
protected  java.lang.String successDisposition
          Deprecated.  
 
Fields inherited from class org.eclipse.hyades.logging.events.SituationTypeImpl
reasoningScope
 
Constructor Summary
protected ConnectSituationImpl()
          Deprecated. No-argument protected constructor for ConnectSituationImpl.
 
Method Summary
 java.lang.Object clone()
          Deprecated. Return a clone (copy by value) of this object.
 boolean equals(java.lang.Object object)
          Deprecated. Overrides the java.lang.Object's equals() API to determine if the parameter object is equal to this object.
 java.lang.String getSituationDisposition()
          Deprecated. Returns the situationDisposition.
 java.lang.String getSuccessDisposition()
          Deprecated. Returns the successDisposition.
 void init()
          Deprecated. Resets the object's properties to their initial (e.g. null) state.
 void setSituationDisposition(java.lang.String situationDisposition)
          Deprecated. Sets the situationDisposition.
 void setSuccessDisposition(java.lang.String successDisposition)
          Deprecated. Sets the successDisposition.
 
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

successDisposition

protected java.lang.String successDisposition
Deprecated. 

situationDisposition

protected java.lang.String situationDisposition
Deprecated. 
Constructor Detail

ConnectSituationImpl

protected ConnectSituationImpl()
Deprecated. 
No-argument protected constructor for ConnectSituationImpl.

Method Detail

getSuccessDisposition

public java.lang.String getSuccessDisposition()
Deprecated. 
Returns the successDisposition. This property specifies the success disposition of an operation of a situation that caused the situation to be reported. The successDisposition is a string with the following set of values: SUCCESSFUL UNSUCESSFUL This is a REQUIRED property and once it is set it MUST NOT change. The string length for this property MUST NOT exceed 64 characters.

Specified by:
getSuccessDisposition in interface IConnectSituation
Returns:
String The returned successDisposition.
Since:
1.0.1

getSituationDisposition

public java.lang.String getSituationDisposition()
Deprecated. 
Returns the situationDisposition. This property specifies the situation disposition that is representation of the parameters necessary to describe the situation. The situationDisposition is a string with the following set of values: INUSE FREED CLOSED AVAILABLE This is a REQUIRED property and once it is set it MUST NOT change. The string length for this property MUST NOT exceed 64 characters.

Specified by:
getSituationDisposition in interface IConnectSituation
Returns:
String The returned situationDisposition.
Since:
1.0.1

setSuccessDisposition

public void setSuccessDisposition(java.lang.String successDisposition)
Deprecated. 
Sets the successDisposition. This property specifies the success disposition of an operation of a situation that caused the situation to be reported. The successDisposition is a string with the following set of values: SUCCESSFUL UNSUCESSFUL This is a REQUIRED property and once it is set it MUST NOT change. The string length for this property MUST NOT exceed 64 characters.

Specified by:
setSuccessDisposition in interface IConnectSituation
Parameters:
successDisposition - The successDisposition to be set.
Since:
1.0.1

setSituationDisposition

public void setSituationDisposition(java.lang.String situationDisposition)
Deprecated. 
Sets the situationDisposition. This property specifies the situation disposition that is representation of the parameters necessary to describe the situation. The situationDisposition is a string with the following set of values: INUSE FREED CLOSED AVAILABLE This is a REQUIRED property and once it is set it MUST NOT change. The string length for this property MUST NOT exceed 64 characters.

Specified by:
setSituationDisposition in interface IConnectSituation
Parameters:
situationDisposition - The situationDisposition to be set.
Since:
1.0.1

equals

public boolean equals(java.lang.Object object)
Deprecated. 
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
Deprecated. 
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()
Deprecated. 
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()