Interface ServiceInvocationResultResponse
- All Known Implementing Classes:
InvokeServiceCmd.ServiceInvocationArrayResultResponse
,InvokeServiceCmd.ServiceInvocationResultResponseImpl
public interface ServiceInvocationResultResponse
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptiondefault Object
The response object from theServiceInvocationResponse
.The result response.The type of the returned result response.The service invocation response returned by the specific Service Invoker.The value for the given name.boolean
Whether the result response has a value with the given name.
-
Method Details
-
getResponseLookupId
Object getResponseLookupId() -
hasValue
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
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
-
getResultType
ResultType getResultType()The type of the returned result response. -
getResult
Object getResult()The result response. Mostly needed when accessing the result type. -
getServiceInvocationResponse
ServiceInvocationResponse getServiceInvocationResponse()The service invocation response returned by the specific Service Invoker. This is a low level response. -
getResponseObject
The response object from theServiceInvocationResponse
.
-