Class RequisitionResponseDTO
- java.lang.Object
-
- org.opennms.netmgt.provision.persist.rpc.RequisitionResponseDTO
-
- All Implemented Interfaces:
RpcResponse
public class RequisitionResponseDTO extends Object implements RpcResponse
-
-
Constructor Summary
Constructors Constructor Description RequisitionResponseDTO()
RequisitionResponseDTO(Throwable ex)
RequisitionResponseDTO(Requisition requisition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
String
getErrorMessage()
Returns an error message if an error occurred, ornull
otherwise.Requisition
getRequisition()
int
hashCode()
void
setErrorMessage(String error)
void
setRequisition(Requisition requisition)
-
-
-
Constructor Detail
-
RequisitionResponseDTO
public RequisitionResponseDTO()
-
RequisitionResponseDTO
public RequisitionResponseDTO(Throwable ex)
-
RequisitionResponseDTO
public RequisitionResponseDTO(Requisition requisition)
-
-
Method Detail
-
getErrorMessage
public String getErrorMessage()
Description copied from interface:RpcResponse
Returns an error message if an error occurred, ornull
otherwise.- Specified by:
getErrorMessage
in interfaceRpcResponse
- Returns:
- an error message if an error occurred, or
null
otherwise
-
setErrorMessage
public void setErrorMessage(String error)
-
getRequisition
public Requisition getRequisition()
-
setRequisition
public void setRequisition(Requisition requisition)
-
-