au.gov.nehta.vendorlibrary.hi.hpio
Class ProviderSearchHIProviderDirectoryForOrganisationClient.ArgumentValidator

java.lang.Object
  extended by au.gov.nehta.vendorlibrary.hi.hpio.ProviderSearchHIProviderDirectoryForOrganisationClient.ArgumentValidator
Enclosing class:
ProviderSearchHIProviderDirectoryForOrganisationClient

public static class ProviderSearchHIProviderDirectoryForOrganisationClient.ArgumentValidator
extends java.lang.Object

Validates search parameters are correct for the various search types.


Field Summary
static int AUSTRALIAN_POSTCODE_LENGTH
          The length of an Australian postcode.
 
Constructor Summary
ProviderSearchHIProviderDirectoryForOrganisationClient.ArgumentValidator()
           
 
Method Summary
 void demographicSearchCheck(au.net.electronichealth.ns.hi.svc.hiproviderdirectoryfororganisation._3_2_0.SearchHIProviderDirectoryForOrganisation request)
          Checks that only the correct parameters for a demographic search are set.
 void identifierSearchCheck(au.net.electronichealth.ns.hi.svc.hiproviderdirectoryfororganisation._3_2_0.SearchHIProviderDirectoryForOrganisation request)
          Checks that only the correct parameters for an identifier search are set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUSTRALIAN_POSTCODE_LENGTH

public static final int AUSTRALIAN_POSTCODE_LENGTH
The length of an Australian postcode.

See Also:
Constant Field Values
Constructor Detail

ProviderSearchHIProviderDirectoryForOrganisationClient.ArgumentValidator

public ProviderSearchHIProviderDirectoryForOrganisationClient.ArgumentValidator()
Method Detail

identifierSearchCheck

public final void identifierSearchCheck(au.net.electronichealth.ns.hi.svc.hiproviderdirectoryfororganisation._3_2_0.SearchHIProviderDirectoryForOrganisation request)
Checks that only the correct parameters for an identifier search are set.

Parameters:
request - the search request object containing the parameters to be checked.

demographicSearchCheck

public final void demographicSearchCheck(au.net.electronichealth.ns.hi.svc.hiproviderdirectoryfororganisation._3_2_0.SearchHIProviderDirectoryForOrganisation request)
Checks that only the correct parameters for a demographic search are set.

Parameters:
request - the search request object containing the parameters to be checked.