org.semanticweb.owlapi.owllink.builtin.response
Interface ResponseMessage

All Superinterfaces:
java.lang.Iterable<Response>

public interface ResponseMessage
extends java.lang.Iterable<Response>

Created by IntelliJ IDEA. Author: Olaf Noppens Date: 26.10.2009


Method Summary
 Response get(int index)
          Returns the response at the given index.
 OWLlinkErrorResponseException getError(int index)
           
 OWLlinkErrorResponseException getError(Request request)
           
<R extends Response>
R
getResponse(Request<R> request)
           
 boolean hasError()
           
 boolean hasErrorResponse(Request request)
           
 boolean isErrorResponse(int index)
           
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

get

Response get(int index)
             throws OWLlinkErrorResponseException
Returns the response at the given index. If the response is an OWLlink ErrorResponse an OWLlinkErrorResponseException will be thrown.

Parameters:
index -
Returns:
Response
Throws:
OWLlinkErrorResponseException

getError

OWLlinkErrorResponseException getError(int index)

isErrorResponse

boolean isErrorResponse(int index)

hasError

boolean hasError()

getResponse

<R extends Response> R getResponse(Request<R> request)
                               throws OWLlinkErrorResponseException
Throws:
OWLlinkErrorResponseException

hasErrorResponse

boolean hasErrorResponse(Request request)

getError

OWLlinkErrorResponseException getError(Request request)