Interface ServiceInvocationResultResponse
-
- All Known Implementing Classes:
InvokeServiceCmd.ServiceInvocationResultResponseImpl
public interface ServiceInvocationResultResponse
- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.Object
getResponseLookupId()
default java.lang.Object
getResponseObject()
The response object from theServiceInvocationResponse
.ServiceInvocationResponse
getServiceInvocationResponse()
The service invocation response returned by the specific Service Invoker.java.lang.Object
getValue(java.lang.String name)
The the value for the given name.boolean
hasValue(java.lang.String name)
Whether the result response has a value with the given name.
-
-
-
Method Detail
-
getResponseLookupId
java.lang.Object getResponseLookupId()
-
hasValue
boolean hasValue(java.lang.String name)
Whether the result response has a value with the given name. The value can also benull
.- Parameters:
name
- the name of the value- Returns:
true
if the result has such a value,false
otherwise
-
getValue
java.lang.Object getValue(java.lang.String name)
The the value for the given name.null
does not mean that there is no value, it can mean that the value that was present isnull
. UsehasValue(String)
to check if the result has a certain value or not.- Parameters:
name
- the name of the value- Returns:
- the value
-
getServiceInvocationResponse
ServiceInvocationResponse getServiceInvocationResponse()
The service invocation response returned by the specific Service Invoker. This is a low level response.
-
getResponseObject
default java.lang.Object getResponseObject()
The response object from theServiceInvocationResponse
.
-
-