public interface Response extends OsidRelationship
A Response to an Inquiry . A
Response is an OsidRelationship between an
Inquiry and a Resource.
| Modifier and Type | Method and Description |
|---|---|
Inquiry |
getInquiry()
Gets the inquiry.
|
Id |
getInquiryId()
Gets the inquiry
Id. |
Resource |
getResponder()
Gets the responder resource.
|
Id |
getResponderId()
Gets the responder resource
Id. |
Agent |
getRespondingAgent()
Gets the responding agent.
|
Id |
getRespondingAgentId()
Gets the responding agent
Id. |
ResponseRecord |
getResponseRecord(Type responseRecordType)
Gets the response record corresponding to the given
Response
record Type. |
boolean |
isAffirmative()
Tests if this response was affirmative.
|
getEndReason, getEndReasonId, hasEndReasongetDescription, getDisplayName, getGenusType, isOfGenusTypegetId, isCurrentgetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypegetEndDate, getStartDate, isEffectiveId getInquiryId()
Id. Id mandatory - This method must be implemented. Inquiry getInquiry() throws OperationFailedException
OperationFailedException - unable to complete requestmandatory - This method must be implemented. Id getResponderId()
Id. Id mandatory - This method must be implemented. Resource getResponder() throws OperationFailedException
OperationFailedException - unable to complete requestmandatory - This method must be implemented. Id getRespondingAgentId()
Id. Id mandatory - This method must be implemented. Agent getRespondingAgent() throws OperationFailedException
OperationFailedException - unable to complete requestmandatory - This method must be implemented. boolean isAffirmative()
true if affirmative, false if
negativemandatory - This method must be implemented. ResponseRecord getResponseRecord(Type responseRecordType) throws OperationFailedException
Response
record Type. This method is used to retrieve an
object implementing the requested record. The
responseRecordType may be the Type returned in
getRecordTypes() or any of its parents in a Type
hierarchy where hasRecordType(responseRecordType)
is true .responseRecordType - the type of response record to retrieveNullArgumentException - responseRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(responseRecordType) is false
mandatory - This method must be implemented.