Class RequisitionResponseDTO
- java.lang.Object
-
- org.opennms.netmgt.provision.persist.rpc.RequisitionResponseDTO
-
- All Implemented Interfaces:
RpcResponse
public class RequisitionResponseDTO extends java.lang.Object implements RpcResponse
-
-
Constructor Summary
Constructors Constructor Description RequisitionResponseDTO()
RequisitionResponseDTO(java.lang.Throwable ex)
RequisitionResponseDTO(Requisition requisition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.String
getErrorMessage()
Returns an error message if an error occurred, ornull
otherwise.Requisition
getRequisition()
int
hashCode()
void
setErrorMessage(java.lang.String error)
void
setRequisition(Requisition requisition)
-
-
-
Constructor Detail
-
RequisitionResponseDTO
public RequisitionResponseDTO()
-
RequisitionResponseDTO
public RequisitionResponseDTO(java.lang.Throwable ex)
-
RequisitionResponseDTO
public RequisitionResponseDTO(Requisition requisition)
-
-
Method Detail
-
getErrorMessage
public java.lang.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(java.lang.String error)
-
getRequisition
public Requisition getRequisition()
-
setRequisition
public void setRequisition(Requisition requisition)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-