au.gov.nehta.vendorlibrary.hi.ihi
Class ConsumerSearchIHIClient.ArgumentValidator

java.lang.Object
  extended by au.gov.nehta.vendorlibrary.hi.ihi.ConsumerSearchIHIClient.ArgumentValidator
Enclosing class:
ConsumerSearchIHIClient

public static class ConsumerSearchIHIClient.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.
static int POSTAL_DELIVERY_NUMBER_MAX_LENGTH
          The maximum length of a postal delivery number.
 
Constructor Summary
ConsumerSearchIHIClient.ArgumentValidator()
           
 
Method Summary
 void australianPostalAddressSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
          Checks that only the correct parameters for an Australian Postal address search are set.
 void australianStreetAddressSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
          Checks that only the correct parameters for an Australian Street address search are set.
 void basicDvaSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
          Checks that only the correct parameters for a basic DVA search are set.
 void basicMedicareSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
          Checks that only the correct parameters for a basic Medicare search are set.
 void basicSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
          Checks that only the correct parameters for a basic search are set.
 void detailedSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
          Checks that only the correct parameters for a detailed search are set.
 void internationalAddressSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
          Checks that only the correct parameters for an International address search are set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POSTAL_DELIVERY_NUMBER_MAX_LENGTH

public static final int POSTAL_DELIVERY_NUMBER_MAX_LENGTH
The maximum length of a postal delivery number.

See Also:
Constant Field Values

AUSTRALIAN_POSTCODE_LENGTH

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

See Also:
Constant Field Values
Constructor Detail

ConsumerSearchIHIClient.ArgumentValidator

public ConsumerSearchIHIClient.ArgumentValidator()
Method Detail

basicSearchCheck

public final void basicSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
Checks that only the correct parameters for a basic search are set.

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

basicMedicareSearchCheck

public final void basicMedicareSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
Checks that only the correct parameters for a basic Medicare search are set.

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

basicDvaSearchCheck

public final void basicDvaSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
Checks that only the correct parameters for a basic DVA search are set.

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

detailedSearchCheck

public final void detailedSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
Checks that only the correct parameters for a detailed search are set.

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

australianPostalAddressSearchCheck

public final void australianPostalAddressSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
Checks that only the correct parameters for an Australian Postal address search are set.

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

australianStreetAddressSearchCheck

public final void australianStreetAddressSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
Checks that only the correct parameters for an Australian Street address search are set.

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

internationalAddressSearchCheck

public final void internationalAddressSearchCheck(au.net.electronichealth.ns.hi.svc.consumersearchihi._3_0.SearchIHI request)
Checks that only the correct parameters for an International address search are set.

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