mascoptLib.util
Class NotifyReason

java.lang.Object
  extended bymascoptLib.util.NotifyReason

public class NotifyReason
extends Object

Reason of a notification (used internally).


Constructor Summary
NotifyReason(String message, Object[] obj)
          Sets a message to send to some objects when they have to be notifiyed.
 
Method Summary
 String getMessage()
          Returns the message when notifiyed.
 Object[] getObjects()
          Returns the objects that can be notifiyed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotifyReason

public NotifyReason(String message,
                    Object[] obj)
Sets a message to send to some objects when they have to be notifiyed.

Parameters:
message - the message to give.
obj - a table of objects to notify.
Method Detail

getObjects

public Object[] getObjects()
Returns the objects that can be notifiyed.

Returns:
the objects in a table.

getMessage

public String getMessage()
Returns the message when notifiyed.

Returns:
the message in a String.