public class DatabaseEvent
extends java.lang.Object
| Constructor and Description |
|---|
DatabaseEvent(RequestType requestType,
java.lang.String parameter)
Instantiates a new database event.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getParameter()
Gets the parameter.
|
RequestType |
getRequestType()
Gets the request type.
|
void |
setParameter(java.lang.String parameter)
Sets the parameter.
|
void |
setRequestType(RequestType requestType)
Sets the request type.
|
public DatabaseEvent(RequestType requestType, java.lang.String parameter)
requestType - the request typeparameter - the parameterpublic java.lang.String getParameter()
public RequestType getRequestType()
public void setParameter(java.lang.String parameter)
parameter - the new parameterpublic void setRequestType(RequestType requestType)
requestType - the new request type