objectivehtml.oms
Class SignalId

java.lang.Object
  |
  +--objectivehtml.oms.SignalId

public final class SignalId
extends java.lang.Object

This object uniquely identifies a signal method of a OMSObject. The object contains a reference to the method that represents this signal and also contains a reference to the signaller object.


Constructor Summary
SignalId()
          Constructs an instance of Signal.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares whether two signal ids are equal.
 java.lang.reflect.Method getMethod()
          Gets the Method object for this signal id.
 OMSObject getSignaller()
          Gets the signal object for this signal id.
 int hashCode()
          Generates a hash code for this object.
 void setMethod(java.lang.reflect.Method objMethod)
          Sets the Method object for this signal id.
 void setSignaller(OMSObject objSignaller)
          Sets the signal object for this signal id.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignalId

public SignalId()
Constructs an instance of Signal.
Method Detail

equals

public boolean equals(java.lang.Object obj)
Compares whether two signal ids are equal.
Overrides:
equals in class java.lang.Object
Parameters:
obj - the other signal id object
Returns:
true if they are equal, false otherwise

hashCode

public int hashCode()
Generates a hash code for this object.
Overrides:
hashCode in class java.lang.Object
Returns:
a unique hash

setMethod

public void setMethod(java.lang.reflect.Method objMethod)
Sets the Method object for this signal id.
Parameters:
objMethod - the method
See Also:
getMethod()

getMethod

public java.lang.reflect.Method getMethod()
Gets the Method object for this signal id.
Returns:
the method for this signal id
See Also:
setMethod(Method)

setSignaller

public void setSignaller(OMSObject objSignaller)
Sets the signal object for this signal id.
Parameters:
objSignaller - the method
See Also:
getSignaller()

getSignaller

public OMSObject getSignaller()
Gets the signal object for this signal id.
Returns:
the signal object for this signal id
See Also:
setSignaller(OMSObject)