Class HpdUtils
java.lang.Object
org.projecthusky.communication.utils.HpdUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addHpdAttribute
(org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.AddRequest addRequest, HpdAttributeName attributeName, String value) static void
addHpdAttributes
(org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.AddRequest addRequest, String attributeName, List<String> values) static void
addHpdAttributes
(org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.AddRequest addRequest, HpdAttributeName attributeName, List<String> values) static <T> T
getValidResponse
(org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.BatchResponse response, Class<T> clazz) static boolean
hasNullOrBlank
(Object... objects) static void
setOptionalAttributes
(org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.AddRequest addRequest, Map<HpdAttributeName, List<String>> optionalAttributes)
-
Constructor Details
-
HpdUtils
public HpdUtils()
-
-
Method Details
-
addHpdAttribute
public static void addHpdAttribute(org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.AddRequest addRequest, HpdAttributeName attributeName, String value) -
addHpdAttributes
public static void addHpdAttributes(org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.AddRequest addRequest, HpdAttributeName attributeName, List<String> values) -
addHpdAttributes
-
setOptionalAttributes
public static void setOptionalAttributes(org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.AddRequest addRequest, Map<HpdAttributeName, List<String>> optionalAttributes) -
hasNullOrBlank
-
getValidResponse
public static <T> T getValidResponse(org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.BatchResponse response, Class<T> clazz)
-