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, Throwable cause)
           
Result(T result)
           
 
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(org.joda.time.DateTime time)

Result

public Result(T result)
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 Business ORGPHARMACY 3.13.1 API
Copyright © {inceptionYear}-2017 eHealth. All Rights Reserved.