Class HpdSearchQuery
java.lang.Object
org.projecthusky.communication.requests.hpd.HpdRequest
org.projecthusky.communication.requests.hpd.HpdSearchQuery
Class used for creating the HPD library SearchRequest class
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionHpdSearchQuery
(String distinguishedName, boolean isAndRequest, boolean isOrRequest, boolean isNegated, List<HpdFilterOperation> primitiveFilters, List<String> resultAttributeNames, org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.SearchRequest.SearchScope scope, org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.SearchRequest.DerefAliasesType derefAliases, Long sizeLimit, Long timeLimit, Boolean typesOnly) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addResultAttributeName
(String name) void
addResultAttributeName
(HpdAttributeName attributeName) org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.DsmlMessage
build()
Method implemented by all child classes which returns an instance ofDsmlMessage
boolean
isValid()
Method implemented by all child classes used for validating mandatory constraints
-
Constructor Details
-
HpdSearchQuery
public HpdSearchQuery(String distinguishedName, boolean isAndRequest, boolean isOrRequest, boolean isNegated, List<HpdFilterOperation> primitiveFilters, List<String> resultAttributeNames, org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.SearchRequest.SearchScope scope, org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.SearchRequest.DerefAliasesType derefAliases, Long sizeLimit, Long timeLimit, Boolean typesOnly)
-
-
Method Details
-
addResultAttributeName
-
addResultAttributeName
-
build
public org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.DsmlMessage build()Description copied from class:HpdRequest
Method implemented by all child classes which returns an instance ofDsmlMessage
- Specified by:
build
in classHpdRequest
-
isValid
public boolean isValid()Description copied from class:HpdRequest
Method implemented by all child classes used for validating mandatory constraints- Overrides:
isValid
in classHpdRequest
-