au.gov.nehta.vendorlibrary.hi.hpii
Class ProviderSearchForProviderIndividualClient.ArgumentValidator

java.lang.Object
  extended by au.gov.nehta.vendorlibrary.hi.hpii.ProviderSearchForProviderIndividualClient.ArgumentValidator
Enclosing class:
ProviderSearchForProviderIndividualClient

public static class ProviderSearchForProviderIndividualClient.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
ProviderSearchForProviderIndividualClient.ArgumentValidator()
           
 
Method Summary
 void demographicSearchCheck(au.net.electronichealth.ns.hi.svc.hiprovidersearchindividual._5_0_0.SearchForProviderIndividual request)
          Checks that only the correct parameters for a demographic search are set.
 void identifierSearchCheck(au.net.electronichealth.ns.hi.svc.hiprovidersearchindividual._5_0_0.SearchForProviderIndividual 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

ProviderSearchForProviderIndividualClient.ArgumentValidator

public ProviderSearchForProviderIndividualClient.ArgumentValidator()
Method Detail

identifierSearchCheck

public final void identifierSearchCheck(au.net.electronichealth.ns.hi.svc.hiprovidersearchindividual._5_0_0.SearchForProviderIndividual 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.hiprovidersearchindividual._5_0_0.SearchForProviderIndividual 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.