com.javelin.fpml.fx
Class AddressValidator

java.lang.Object
  |
  +--AbstractBeanValidator
        |
        +--com.javelin.fpml.fx.AddressValidator

public class AddressValidator
extends AbstractBeanValidator

AddressValidator.java

null

Author:
Javelin Software
See Also:
Address, Serialized Form

Constructor Summary
AddressValidator()
           
 
Method Summary
protected  void validateAddress(Bean bean)
           
 void validateAddressKey(java.lang.Integer addressKey, Address bean, java.lang.String propertyName)
          Validate the AddressKey.
 void validateCity(java.lang.String city, Address bean, java.lang.String propertyName)
          Validate the City.
 void validateCountry(Country country, Address bean, java.lang.String propertyName)
          Validate the Country.
 void validateOnCreate(Bean bean)
           
 void validateOnRemove(Bean bean)
           
 void validateOnStore(Bean bean)
           
 void validatePostalCode(java.lang.String postalCode, Address bean, java.lang.String propertyName)
          Validate the PostalCode.
 void validateState(java.lang.String state, Address bean, java.lang.String propertyName)
          Validate the State.
 void validateStreetAddress(StreetAddress streetAddress, Address bean, java.lang.String propertyName)
          Validate the StreetAddress.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressValidator

public AddressValidator()
Method Detail

validateAddressKey

public void validateAddressKey(java.lang.Integer addressKey,
                               Address bean,
                               java.lang.String propertyName)
                        throws ValidationException
Validate the AddressKey.

ValidationException

validateStreetAddress

public void validateStreetAddress(StreetAddress streetAddress,
                                  Address bean,
                                  java.lang.String propertyName)
                           throws ValidationException
Validate the StreetAddress.

ValidationException

validateCity

public void validateCity(java.lang.String city,
                         Address bean,
                         java.lang.String propertyName)
                  throws ValidationException
Validate the City.

ValidationException

validateState

public void validateState(java.lang.String state,
                          Address bean,
                          java.lang.String propertyName)
                   throws ValidationException
Validate the State.

ValidationException

validateCountry

public void validateCountry(Country country,
                            Address bean,
                            java.lang.String propertyName)
                     throws ValidationException
Validate the Country.

ValidationException

validatePostalCode

public void validatePostalCode(java.lang.String postalCode,
                               Address bean,
                               java.lang.String propertyName)
                        throws ValidationException
Validate the PostalCode.

ValidationException

validateAddress

protected void validateAddress(Bean bean)
                        throws ValidationException
ValidationException

validateOnCreate

public void validateOnCreate(Bean bean)
                      throws ValidationException
ValidationException

validateOnStore

public void validateOnStore(Bean bean)
                     throws ValidationException
ValidationException

validateOnRemove

public void validateOnRemove(Bean bean)
                      throws ValidationException
ValidationException