Class RequisitionResponseDTO

  • All Implemented Interfaces:
    RpcResponse

    public class RequisitionResponseDTO
    extends java.lang.Object
    implements RpcResponse
    • 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, or null otherwise.
        Specified by:
        getErrorMessage in interface RpcResponse
        Returns:
        an error message if an error occurred, or null otherwise
      • setErrorMessage

        public void setErrorMessage​(java.lang.String error)
      • setRequisition

        public void setRequisition​(Requisition requisition)
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object