O - The operation type.Req - The request type (corresponding to the operation type).public abstract static class SimEntityOperation.RequestE<O extends SimEntityOperation,Req extends SimEntityOperation.Request> extends Object implements SimEntityOperation.Request<O,Req>
The entity provided must be non-null and is always the target entity.
| Constructor and Description |
|---|
RequestE(SimEntity entity)
Creates the request.
|
| Modifier and Type | Method and Description |
|---|---|
SimEntity |
getTargetEntity()
Returns the entity argument of this request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforTargetEntity, getOperationpublic RequestE(SimEntity entity)
entity - The entity, non-null.IllegalArgumentException - If the entity is null.public final SimEntity getTargetEntity()
getTargetEntity in interface SimEntityOperation.Request<O extends SimEntityOperation,Req extends SimEntityOperation.Request>null.Copyright © 2018. All rights reserved.