Package be.fgov.ehealth.technicalconnector.ra.domain

# Class Result<T>

java.lang.Object
be.fgov.ehealth.technicalconnector.ra.domain.Result<T>

public class Result<T> extends Object
Result object from the RA services.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Result(String msg, StatusResponseType errorStatus)`
  `Result(String msg, Throwable cause)`
  `Result(Instant time)`
  `Result(T result)`
  `Result(T result, StatusResponseType statusResponseType)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Throwable`
  `getCause()`
  `T`
  `getResult()`
  `Status`
  `getStatus()`
  `Instant`
  `getTime()`
  `boolean`
  `hasStatusError()`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Result

    public Result(String msg, Throwable cause)

  - ### Result

    public Result(String msg, StatusResponseType errorStatus)

  - ### Result

    public Result(Instant time)

  - ### Result

    public Result(T result)

  - ### Result

    public Result(T result, StatusResponseType statusResponseType)

- ## Method Details

  - ### hasStatusError

    public boolean hasStatusError()

  - ### getStatus

    public Status getStatus()

  - ### getTime

    public Instant getTime()

  - ### getResult

    public T getResult() throws RaException
    Throws:
      `RaException`

  - ### getCause

    public Throwable getCause()