public class BaseNotification extends java.lang.Object implements Notification
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | canceled | 
| protected java.lang.Object[] | values | 
| Constructor and Description | 
|---|
| BaseNotification(java.lang.String type,
                int values) | 
| BaseNotification(java.lang.String type,
                java.lang.Object[] values) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | abort() | 
| void | cancel() | 
| java.lang.String | getType() | 
| java.lang.Object | getValue() | 
| java.lang.Object | getValue(int n) | 
| boolean | isAborted() | 
| boolean | isCanceled() | 
| boolean | isOfType(java.lang.String type) | 
| void | setValue(int n,
        java.lang.Object value) | 
| void | setValue(java.lang.Object value) | 
| java.lang.String | toString() | 
public BaseNotification(java.lang.String type,
                        int values)
public BaseNotification(java.lang.String type,
                        java.lang.Object[] values)
public java.lang.String getType()
getType in interface Notificationpublic boolean isOfType(java.lang.String type)
isOfType in interface Notificationpublic java.lang.Object getValue()
getValue in interface Notificationpublic java.lang.Object getValue(int n)
getValue in interface Notificationpublic void setValue(java.lang.Object value)
setValue in interface Notificationpublic void setValue(int n,
                     java.lang.Object value)
setValue in interface Notificationpublic boolean isCanceled()
isCanceled in interface Notificationpublic void cancel()
cancel in interface Notificationpublic boolean isAborted()
isAborted in interface Notificationpublic void abort()
abort in interface Notificationpublic java.lang.String toString()
toString in class java.lang.Object