public interface Request
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name that identifies this request.
|
int |
getOperation()
Returns the id that identifies this request.
|
java.lang.Object |
getSourceId()
Returns the object that identifies the object that originated this
request.
|
int getOperation()
intString).
In general, an int operation id is more performant because
one can use a switch/case construct. A String
request name will require string compare which can be
more costly. However, string request name is good for
custom request processing where a static int operation id
cannot be formulated.
java.lang.String getName()
intString).
In general, an int operation id is more performant because
one can use a switch/case construct. A String
request name will require string compare which can be
more costly. However, string request name is good for
custom request processing where a static int operation id
cannot be formulated.
java.lang.Object getSourceId()