O - The operation type.Req - The request type (corresponding to the operation type).public static interface SimEntityOperation.Request<O extends SimEntityOperation,Req extends SimEntityOperation.Request>
SimEntityOperation.| Modifier and Type | Method and Description |
|---|---|
Req |
forTargetEntity(SimEntity newTargetEntity)
Creates a copy of this request for another target entity.
|
O |
getOperation()
Gets the operation (type).
|
SimEntity |
getTargetEntity()
Gets the target entity; the entity to perform the request.
|
O getOperation()
SimEntity getTargetEntity()
Normally, the target entity is also the entity or one of the entities to which the request applies.
null).Req forTargetEntity(SimEntity newTargetEntity)
newTargetEntity - The new target entity, non-null.IllegalArgumentException - If the entity argument is null.UnsupportedOperationException - If this request does not support the (kind of) new target entity.Copyright © 2018. All rights reserved.