objectivehtml.oms
Class SlotId

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

public final class SlotId
extends java.lang.Object

This object uniquely identifies a slot method of a OMSObject. The object contains a reference to the method that represents this signal and also contains a reference to the slot object. If an error handler object has been specified for the slot then it will also have a reference to this object.


Constructor Summary
SlotId()
          Constructs an instance of Signal.
 
Method Summary
 boolean equals(java.lang.Object obj)
          This method compares whether two slot ids are equal.
 ErrorHandler getErrorHandler()
          Gets the error handler for this slot.
 java.lang.reflect.Method getMethod()
          Gets the Method object for this slot id.
 OMSObject getSlotter()
          Gets the slot object for this slot id.
 int hashCode()
          Generates a hash code for this object.
 void setErrorHandler(ErrorHandler objErrorHandler)
          Sets the error handler for this slot.
 void setMethod(java.lang.reflect.Method objMethod)
          Sets the Method object for this slot id.
 void setSlotter(OMSObject objSlotter)
          Sets the slot object for this slot id.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlotId

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

equals

public boolean equals(java.lang.Object obj)
This method compares whether two slot ids are equal.
Overrides:
equals in class java.lang.Object
Parameters:
obj - the other slot 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 slot id.
Parameters:
objMethod - the method
See Also:
getMethod()

getMethod

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

setSlotter

public void setSlotter(OMSObject objSlotter)
Sets the slot object for this slot id.
Parameters:
objSlotter - the method
See Also:
getSlotter()

getSlotter

public OMSObject getSlotter()
Gets the slot object for this slot id.
Returns:
the slot object for this slot id
See Also:
setSlotter(OMSObject)

setErrorHandler

public void setErrorHandler(ErrorHandler objErrorHandler)
Sets the error handler for this slot.
Parameters:
objErrorHandler -  
See Also:
getErrorHandler()

getErrorHandler

public ErrorHandler getErrorHandler()
Gets the error handler for this slot.
Returns:
the error handler
See Also:
setErrorHandler(ErrorHandler)