Package oms3
Class Notification.DataflowEvent
- java.lang.Object
-
- java.util.EventObject
-
- oms3.Notification.DataflowEvent
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Notification
public static class Notification.DataflowEvent extends EventObject
Data flow event.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessgetAccess()Get field access info.ObjectgetValue()Get the data value that is passed on @In/@OutvoidsetValue(Object value)This methods allows altering the value being passed from @Out to @In.StringtoString()-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Method Detail
-
getAccess
public Access getAccess()
Get field access info. Note: if you need to alter the value, do not use the Access object method setFieldValue(). call setValue() on this object instead.- Returns:
- The field access object
-
getValue
public Object getValue()
Get the data value that is passed on @In/@Out- Returns:
- the data value that is passed around.
-
setValue
public void setValue(Object value)
This methods allows altering the value being passed from @Out to @In. Call this from within the 'notice' event notification when you receive this DataflowEvent. An example would be a unit conversion.- Parameters:
value- the altered value.
-
toString
public String toString()
- Overrides:
toStringin classEventObject
-
-