com.javelin.fpml.fx
Class AddressBean

java.lang.Object
  |
  +--AbstractBean
        |
        +--com.javelin.fpml.fx.AddressBean
All Implemented Interfaces:
Address, java.lang.Cloneable, java.io.Serializable

public class AddressBean
extends AbstractBean
implements Address

AddressBean.java

null

Author:
Javelin Software
See Also:
Address, Serialized Form

Field Summary
protected  java.lang.Integer addressKey
           
protected  java.lang.String city
           
protected  Country country
           
protected  java.lang.String postalCode
           
protected  RoutingExplicitDetails routingExplicitDetails
           
protected  RoutingIdsAndExplicitDetails routingIdsAndExplicitDetails
           
protected  java.lang.String state
           
protected  StreetAddress streetAddress
           
protected  AddressValidator validator
           
 
Constructor Summary
AddressBean()
          Construct the Default AddressBean.
 
Method Summary
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 java.lang.Integer getAddressKey()
          Get the Address Key.
protected  AddressValidator getAddressValidator()
           
 java.lang.String getCity()
          Get the City.
 Country getCountry()
          Get the Country.
 java.lang.Class getInterface()
           
 java.lang.String getPostalCode()
          Get the Postal Code.
 RoutingExplicitDetails getRoutingExplicitDetailsRoutingAddress()
          Get the RoutingExplicitDetailsRoutingAddress dependent on this table.
 RoutingIdsAndExplicitDetails getRoutingIdsAndExplicitDetailsRoutingAddress()
          Get the RoutingIdsAndExplicitDetailsRoutingAddress dependent on this table.
 java.lang.String getState()
          Get the State.
 StreetAddress getStreetAddress()
          Get the Street Address.
 void listRelations(java.util.Vector list, int type)
          List the related beans.
 void setAddressKey(java.lang.Integer addressKey)
          Set the Address Key.
 void setCity(java.lang.String city)
          Set the City.
 void setCountry(Country country)
          Set the Country.
 void setPostalCode(java.lang.String postalCode)
          Set the Postal Code.
 void setRoutingExplicitDetailsRoutingAddress(RoutingExplicitDetails routingExplicitDetails)
          Set the RoutingExplicitDetailsRoutingAddress dependent on this table.
 void setRoutingIdsAndExplicitDetailsRoutingAddress(RoutingIdsAndExplicitDetails routingIdsAndExplicitDetails)
          Set the RoutingIdsAndExplicitDetailsRoutingAddress dependent on this table.
 void setState(java.lang.String state)
          Set the State.
 void setStreetAddress(StreetAddress streetAddress)
          Set the Street Address.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

addressKey

protected java.lang.Integer addressKey

streetAddress

protected transient StreetAddress streetAddress

city

protected java.lang.String city

state

protected java.lang.String state

country

protected transient Country country

postalCode

protected java.lang.String postalCode

routingExplicitDetails

protected RoutingExplicitDetails routingExplicitDetails

routingIdsAndExplicitDetails

protected RoutingIdsAndExplicitDetails routingIdsAndExplicitDetails

validator

protected AddressValidator validator
Constructor Detail

AddressBean

public AddressBean()
Construct the Default AddressBean.

Method Detail

getInterface

public java.lang.Class getInterface()
See Also:
com.javelin.beans.Bean.getInterface()

getRoutingExplicitDetailsRoutingAddress

public RoutingExplicitDetails getRoutingExplicitDetailsRoutingAddress()
                                                               throws ValidationException
Description copied from interface: Address
Get the RoutingExplicitDetailsRoutingAddress dependent on this table.

Specified by:
getRoutingExplicitDetailsRoutingAddress in interface Address
Returns:
RoutingExplicitDetails.
ValidationException
See Also:
com.javelin.fpml.fx.getRoutingExplicitDetailsRoutingAddress()

setRoutingExplicitDetailsRoutingAddress

public void setRoutingExplicitDetailsRoutingAddress(RoutingExplicitDetails routingExplicitDetails)
                                             throws ValidationException
Description copied from interface: Address
Set the RoutingExplicitDetailsRoutingAddress dependent on this table.

Specified by:
setRoutingExplicitDetailsRoutingAddress in interface Address
ValidationException
See Also:
com.javelin.fpml.fx.setRoutingExplicitDetailsRoutingAddress()

getRoutingIdsAndExplicitDetailsRoutingAddress

public RoutingIdsAndExplicitDetails getRoutingIdsAndExplicitDetailsRoutingAddress()
                                                                           throws ValidationException
Description copied from interface: Address
Get the RoutingIdsAndExplicitDetailsRoutingAddress dependent on this table.

Specified by:
getRoutingIdsAndExplicitDetailsRoutingAddress in interface Address
Returns:
RoutingIdsAndExplicitDetails.
ValidationException
See Also:
com.javelin.fpml.fx.getRoutingIdsAndExplicitDetailsRoutingAddress()

setRoutingIdsAndExplicitDetailsRoutingAddress

public void setRoutingIdsAndExplicitDetailsRoutingAddress(RoutingIdsAndExplicitDetails routingIdsAndExplicitDetails)
                                                   throws ValidationException
Description copied from interface: Address
Set the RoutingIdsAndExplicitDetailsRoutingAddress dependent on this table.

Specified by:
setRoutingIdsAndExplicitDetailsRoutingAddress in interface Address
ValidationException
See Also:
com.javelin.fpml.fx.setRoutingIdsAndExplicitDetailsRoutingAddress()

getAddressKey

public java.lang.Integer getAddressKey()
Description copied from interface: Address
Get the Address Key.

Specified by:
getAddressKey in interface Address
Returns:
Integer or null if it has not been set.
See Also:
Address.getAddressKey()

setAddressKey

public void setAddressKey(java.lang.Integer addressKey)
                   throws ValidationException
Description copied from interface: Address
Set the Address Key.

Specified by:
setAddressKey in interface Address
Parameters:
addressKey - The value to set.
ValidationException
See Also:
Address.setAddressKey( java.lang.Integer addressKey )

getStreetAddress

public StreetAddress getStreetAddress()
Description copied from interface: Address
Get the Street Address.

Specified by:
getStreetAddress in interface Address
Returns:
StreetAddress or null if it has not been set.
See Also:
Address.getStreetAddress()

setStreetAddress

public void setStreetAddress(StreetAddress streetAddress)
                      throws ValidationException
Description copied from interface: Address
Set the Street Address.

Specified by:
setStreetAddress in interface Address
Parameters:
streetAddress - The value to set.
ValidationException
See Also:
Address.setStreetAddress( StreetAddress streetAddress )

getCity

public java.lang.String getCity()
Description copied from interface: Address
Get the City.

Specified by:
getCity in interface Address
Returns:
String or null if it has not been set.
See Also:
Address.getCity()

setCity

public void setCity(java.lang.String city)
             throws ValidationException
Description copied from interface: Address
Set the City.

Specified by:
setCity in interface Address
Parameters:
city - The value to set.
ValidationException
See Also:
Address.setCity( java.lang.String city )

getState

public java.lang.String getState()
Description copied from interface: Address
Get the State.

Specified by:
getState in interface Address
Returns:
String or null if it has not been set.
See Also:
Address.getState()

setState

public void setState(java.lang.String state)
              throws ValidationException
Description copied from interface: Address
Set the State.

Specified by:
setState in interface Address
Parameters:
state - The value to set.
ValidationException
See Also:
Address.setState( java.lang.String state )

getCountry

public Country getCountry()
Description copied from interface: Address
Get the Country.

Specified by:
getCountry in interface Address
Returns:
Country or null if it has not been set.
See Also:
Address.getCountry()

setCountry

public void setCountry(Country country)
                throws ValidationException
Description copied from interface: Address
Set the Country.

Specified by:
setCountry in interface Address
Parameters:
country - The value to set.
ValidationException
See Also:
Address.setCountry( Country country )

getPostalCode

public java.lang.String getPostalCode()
Description copied from interface: Address
Get the Postal Code.

Specified by:
getPostalCode in interface Address
Returns:
String or null if it has not been set.
See Also:
Address.getPostalCode()

setPostalCode

public void setPostalCode(java.lang.String postalCode)
                   throws ValidationException
Description copied from interface: Address
Set the Postal Code.

Specified by:
setPostalCode in interface Address
Parameters:
postalCode - The value to set.
ValidationException
See Also:
Address.setPostalCode( java.lang.String postalCode )

getAddressValidator

protected AddressValidator getAddressValidator()

toString

public java.lang.String toString()
See Also:
Object.toString()

listRelations

public void listRelations(java.util.Vector list,
                          int type)
                   throws ValidationException
List the related beans.

ValidationException

detach

public void detach()
            throws ValidationException
ValidationException
See Also:
com.javelin.beans.Beane#detach()

clone

public java.lang.Object clone()
Clone dependent beans.

Specified by:
clone in interface Address