|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectau.gov.nehta.vendorlibrary.pcehr.clients.common.type.TypedViewResponse<T>
T
- The type held in the "data" tag of the viewpublic class TypedViewResponse<T>
This immutable class holds an unmarshalled response object and the original response view object
Constructor Summary | |
---|---|
TypedViewResponse(au.net.electronichealth.ns.pcehr.xsd.interfaces.getview._1.GetViewResponse getViewResponse,
T responseObject)
|
Method Summary | ||
---|---|---|
java.lang.String |
getCode()
A convenience accessor to getViewResponse.getResponseStatus().getCode() |
|
au.net.electronichealth.ns.pcehr.xsd.interfaces.getview._1.GetViewResponse |
getGetViewResponse()
Get the original GetViewResponse object |
|
T |
getResponseObject()
Get the typed response object held the the "data" tag |
|
static
|
unmarshall(java.lang.Class<T> clazz,
au.net.electronichealth.ns.pcehr.xsd.interfaces.getview._1.GetViewResponse getViewResponse)
Create a typed view response |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypedViewResponse(au.net.electronichealth.ns.pcehr.xsd.interfaces.getview._1.GetViewResponse getViewResponse, T responseObject)
Method Detail |
---|
public static <T> TypedViewResponse<T> unmarshall(java.lang.Class<T> clazz, au.net.electronichealth.ns.pcehr.xsd.interfaces.getview._1.GetViewResponse getViewResponse)
clazz
- the Type to unmarshall held in the response objectgetViewResponse
- the full view response;
public T getResponseObject()
public au.net.electronichealth.ns.pcehr.xsd.interfaces.getview._1.GetViewResponse getGetViewResponse()
public java.lang.String getCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |