public class OptionModelNotification
extends java.lang.Object
OptionModelController
.Modifier and Type | Class and Description |
---|---|
static class |
OptionModelNotification.Reason
The Enumeration Reason that describes possible reasons for a Notification.
|
Constructor and Description |
---|
OptionModelNotification(OptionModelNotification.Reason reason,
java.lang.Object notificationObject)
Instantiates a new option model notification.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getNotificationObject()
Gets the notification object.
|
OptionModelNotification.Reason |
getReason()
Gets the reason for the notification.
|
public OptionModelNotification(OptionModelNotification.Reason reason, java.lang.Object notificationObject)
reason
- the reasonnotificationObject
- the notification objectpublic OptionModelNotification.Reason getReason()
public java.lang.Object getNotificationObject()