public static class InvokeServiceCmd.ServiceInvocationResultResponseImpl extends Object implements ServiceInvocationResultResponse
Modifier and Type | Field and Description |
---|---|
protected ServiceInvocationResponse |
invocationResponse |
protected Object |
responseLookupId |
protected Map<String,Object> |
resultMap |
protected ResultType |
resultType |
Constructor and Description |
---|
ServiceInvocationResultResponseImpl(Object responseLookupId,
Map<String,Object> resultMap,
ServiceInvocationResponse invocationResponse) |
Modifier and Type | Method and Description |
---|---|
Object |
getResponseLookupId() |
Object |
getResult()
The result response.
|
ResultType |
getResultType()
The type of the returned result response.
|
ServiceInvocationResponse |
getServiceInvocationResponse()
The service invocation response returned by the specific Service Invoker.
|
Object |
getValue(String name)
The the value for the given name.
|
boolean |
hasValue(String name)
Whether the result response has a value with the given name.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResponseObject
protected Object responseLookupId
protected ServiceInvocationResponse invocationResponse
protected ResultType resultType
public ServiceInvocationResultResponseImpl(Object responseLookupId, Map<String,Object> resultMap, ServiceInvocationResponse invocationResponse)
public Object getResponseLookupId()
getResponseLookupId
in interface ServiceInvocationResultResponse
public boolean hasValue(String name)
ServiceInvocationResultResponse
null
.hasValue
in interface ServiceInvocationResultResponse
name
- the name of the valuetrue
if the result has such a value, false
otherwisepublic Object getValue(String name)
ServiceInvocationResultResponse
null
does not mean that there is no value, it can mean that the value that was present is null
.
Use ServiceInvocationResultResponse.hasValue(String)
to check if the result has a certain value or not.getValue
in interface ServiceInvocationResultResponse
name
- the name of the valuepublic ResultType getResultType()
ServiceInvocationResultResponse
getResultType
in interface ServiceInvocationResultResponse
public Object getResult()
ServiceInvocationResultResponse
getResult
in interface ServiceInvocationResultResponse
public ServiceInvocationResponse getServiceInvocationResponse()
ServiceInvocationResultResponse
getServiceInvocationResponse
in interface ServiceInvocationResultResponse