org.oasis.ebxml.registry.bindings.rim
Class PostalAddressType

java.lang.Object
  extended byorg.oasis.ebxml.registry.bindings.rim.PostalAddressType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Address, PostalAddress

public abstract class PostalAddressType
extends java.lang.Object
implements java.io.Serializable

Mapping of the same named interface in ebRIM.

See Also:
Serialized Form

Constructor Summary
PostalAddressType()
           
 
Method Summary
 void addPostalAddressTypeItem(int index, PostalAddressTypeItem vPostalAddressTypeItem)
           
 void addPostalAddressTypeItem(PostalAddressTypeItem vPostalAddressTypeItem)
           
 void clearPostalAddressTypeItem()
           
 java.util.Enumeration enumeratePostalAddressTypeItem()
           
 java.lang.String getCity()
          Returns the value of field 'city'.
 java.lang.String getCountry()
          Returns the value of field 'country'.
 PostalAddressTypeItem[] getPostalAddressTypeItem()
           
 PostalAddressTypeItem getPostalAddressTypeItem(int index)
           
 int getPostalAddressTypeItemCount()
           
 java.lang.String getPostalCode()
          Returns the value of field 'postalCode'.
 java.lang.String getStateOrProvince()
          Returns the value of field 'stateOrProvince'.
 java.lang.String getStreet()
          Returns the value of field 'street'.
 java.lang.String getStreetNumber()
          Returns the value of field 'streetNumber'.
 boolean isValid()
           
abstract  void marshal(org.xml.sax.DocumentHandler handler)
           
abstract  void marshal(java.io.Writer out)
           
 boolean removePostalAddressTypeItem(PostalAddressTypeItem vPostalAddressTypeItem)
           
 void setCity(java.lang.String city)
          Sets the value of field 'city'.
 void setCountry(java.lang.String country)
          Sets the value of field 'country'.
 void setPostalAddressTypeItem(int index, PostalAddressTypeItem vPostalAddressTypeItem)
           
 void setPostalAddressTypeItem(PostalAddressTypeItem[] postalAddressTypeItemArray)
           
 void setPostalCode(java.lang.String postalCode)
          Sets the value of field 'postalCode'.
 void setStateOrProvince(java.lang.String stateOrProvince)
          Sets the value of field 'stateOrProvince'.
 void setStreet(java.lang.String street)
          Sets the value of field 'street'.
 void setStreetNumber(java.lang.String streetNumber)
          Sets the value of field 'streetNumber'.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostalAddressType

public PostalAddressType()
Method Detail

addPostalAddressTypeItem

public void addPostalAddressTypeItem(PostalAddressTypeItem vPostalAddressTypeItem)
                              throws java.lang.IndexOutOfBoundsException
Parameters:
vPostalAddressTypeItem -
Throws:
java.lang.IndexOutOfBoundsException

addPostalAddressTypeItem

public void addPostalAddressTypeItem(int index,
                                     PostalAddressTypeItem vPostalAddressTypeItem)
                              throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vPostalAddressTypeItem -
Throws:
java.lang.IndexOutOfBoundsException

clearPostalAddressTypeItem

public void clearPostalAddressTypeItem()

enumeratePostalAddressTypeItem

public java.util.Enumeration enumeratePostalAddressTypeItem()

getCity

public java.lang.String getCity()
Returns the value of field 'city'.

Returns:
the value of field 'city'.

getCountry

public java.lang.String getCountry()
Returns the value of field 'country'.

Returns:
the value of field 'country'.

getPostalAddressTypeItem

public PostalAddressTypeItem getPostalAddressTypeItem(int index)
                                               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getPostalAddressTypeItem

public PostalAddressTypeItem[] getPostalAddressTypeItem()

getPostalAddressTypeItemCount

public int getPostalAddressTypeItemCount()

getPostalCode

public java.lang.String getPostalCode()
Returns the value of field 'postalCode'.

Returns:
the value of field 'postalCode'.

getStateOrProvince

public java.lang.String getStateOrProvince()
Returns the value of field 'stateOrProvince'.

Returns:
the value of field 'stateOrProvince'.

getStreet

public java.lang.String getStreet()
Returns the value of field 'street'.

Returns:
the value of field 'street'.

getStreetNumber

public java.lang.String getStreetNumber()
Returns the value of field 'streetNumber'.

Returns:
the value of field 'streetNumber'.

isValid

public boolean isValid()

marshal

public abstract void marshal(java.io.Writer out)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public abstract void marshal(org.xml.sax.DocumentHandler handler)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removePostalAddressTypeItem

public boolean removePostalAddressTypeItem(PostalAddressTypeItem vPostalAddressTypeItem)
Parameters:
vPostalAddressTypeItem -

setCity

public void setCity(java.lang.String city)
Sets the value of field 'city'.

Parameters:
city - the value of field 'city'.

setCountry

public void setCountry(java.lang.String country)
Sets the value of field 'country'.

Parameters:
country - the value of field 'country'.

setPostalAddressTypeItem

public void setPostalAddressTypeItem(int index,
                                     PostalAddressTypeItem vPostalAddressTypeItem)
                              throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vPostalAddressTypeItem -
Throws:
java.lang.IndexOutOfBoundsException

setPostalAddressTypeItem

public void setPostalAddressTypeItem(PostalAddressTypeItem[] postalAddressTypeItemArray)
Parameters:
postalAddressTypeItemArray -

setPostalCode

public void setPostalCode(java.lang.String postalCode)
Sets the value of field 'postalCode'.

Parameters:
postalCode - the value of field 'postalCode'.

setStateOrProvince

public void setStateOrProvince(java.lang.String stateOrProvince)
Sets the value of field 'stateOrProvince'.

Parameters:
stateOrProvince - the value of field 'stateOrProvince'.

setStreet

public void setStreet(java.lang.String street)
Sets the value of field 'street'.

Parameters:
street - the value of field 'street'.

setStreetNumber

public void setStreetNumber(java.lang.String streetNumber)
Sets the value of field 'streetNumber'.

Parameters:
streetNumber - the value of field 'streetNumber'.

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException