be.fgov.ehealth.technicalconnector.ra.domain
Class Result<T>

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

public class Result<T>
extends Object

Result object from the RA services.


Constructor Summary
Result(org.joda.time.DateTime time)
           
Result(String msg, StatusResponseType errorStatus)
           
Result(String msg, Throwable cause)
           
Result(T result)
           
Result(T result, StatusResponseType statusResponseType)
           
 
Method Summary
 Throwable getCause()
           
 T getResult()
           
 Status getStatus()
           
 org.joda.time.DateTime getTime()
           
 boolean hasStatusError()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Result

public Result(String msg,
              Throwable cause)

Result

public Result(String msg,
              StatusResponseType errorStatus)

Result

public Result(org.joda.time.DateTime time)

Result

public Result(T result)

Result

public Result(T result,
              StatusResponseType statusResponseType)
Method Detail

hasStatusError

public boolean hasStatusError()

getStatus

public Status getStatus()

getTime

public org.joda.time.DateTime getTime()

getResult

public T getResult()
            throws RaException
Throws:
RaException

getCause

public Throwable getCause()



Connector Packaging TECHNICAL 3.21.2 API
Copyright © {inceptionYear}-2021 eHealth. All Rights Reserved.