com.amazonaws.a2s.model
Class Address

java.lang.Object
  extended by com.amazonaws.a2s.model.Address

public class Address
extends java.lang.Object

Java class for Address complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Address">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Address1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Address2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Address3" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="City" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="State" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Country" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  java.lang.String address1
           
protected  java.lang.String address2
           
protected  java.lang.String address3
           
protected  java.lang.String city
           
protected  java.lang.String country
           
protected  java.lang.String name
           
protected  java.lang.String postalCode
           
protected  java.lang.String state
           
 
Constructor Summary
Address()
           
 
Method Summary
 java.lang.String getAddress1()
          Gets the value of the address1 property.
 java.lang.String getAddress2()
          Gets the value of the address2 property.
 java.lang.String getAddress3()
          Gets the value of the address3 property.
 java.lang.String getCity()
          Gets the value of the city property.
 java.lang.String getCountry()
          Gets the value of the country property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getPostalCode()
          Gets the value of the postalCode property.
 java.lang.String getState()
          Gets the value of the state property.
 boolean isSetAddress1()
           
 boolean isSetAddress2()
           
 boolean isSetAddress3()
           
 boolean isSetCity()
           
 boolean isSetCountry()
           
 boolean isSetName()
           
 boolean isSetPostalCode()
           
 boolean isSetState()
           
 void setAddress1(java.lang.String value)
          Sets the value of the address1 property.
 void setAddress2(java.lang.String value)
          Sets the value of the address2 property.
 void setAddress3(java.lang.String value)
          Sets the value of the address3 property.
 void setCity(java.lang.String value)
          Sets the value of the city property.
 void setCountry(java.lang.String value)
          Sets the value of the country property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setPostalCode(java.lang.String value)
          Sets the value of the postalCode property.
 void setState(java.lang.String value)
          Sets the value of the state property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 Address withAddress1(java.lang.String value)
          Sets the value of the Address1 property.
 Address withAddress2(java.lang.String value)
          Sets the value of the Address2 property.
 Address withAddress3(java.lang.String value)
          Sets the value of the Address3 property.
 Address withCity(java.lang.String value)
          Sets the value of the City property.
 Address withCountry(java.lang.String value)
          Sets the value of the Country property.
 Address withName(java.lang.String value)
          Sets the value of the Name property.
 Address withPostalCode(java.lang.String value)
          Sets the value of the PostalCode property.
 Address withState(java.lang.String value)
          Sets the value of the State property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

address1

protected java.lang.String address1

address2

protected java.lang.String address2

address3

protected java.lang.String address3

city

protected java.lang.String city

state

protected java.lang.String state

postalCode

protected java.lang.String postalCode

country

protected java.lang.String country
Constructor Detail

Address

public Address()
Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isSetName

public boolean isSetName()

getAddress1

public java.lang.String getAddress1()
Gets the value of the address1 property.

Returns:
possible object is String

setAddress1

public void setAddress1(java.lang.String value)
Sets the value of the address1 property.

Parameters:
value - allowed object is String

isSetAddress1

public boolean isSetAddress1()

getAddress2

public java.lang.String getAddress2()
Gets the value of the address2 property.

Returns:
possible object is String

setAddress2

public void setAddress2(java.lang.String value)
Sets the value of the address2 property.

Parameters:
value - allowed object is String

isSetAddress2

public boolean isSetAddress2()

getAddress3

public java.lang.String getAddress3()
Gets the value of the address3 property.

Returns:
possible object is String

setAddress3

public void setAddress3(java.lang.String value)
Sets the value of the address3 property.

Parameters:
value - allowed object is String

isSetAddress3

public boolean isSetAddress3()

getCity

public java.lang.String getCity()
Gets the value of the city property.

Returns:
possible object is String

setCity

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

Parameters:
value - allowed object is String

isSetCity

public boolean isSetCity()

getState

public java.lang.String getState()
Gets the value of the state property.

Returns:
possible object is String

setState

public void setState(java.lang.String value)
Sets the value of the state property.

Parameters:
value - allowed object is String

isSetState

public boolean isSetState()

getPostalCode

public java.lang.String getPostalCode()
Gets the value of the postalCode property.

Returns:
possible object is String

setPostalCode

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

Parameters:
value - allowed object is String

isSetPostalCode

public boolean isSetPostalCode()

getCountry

public java.lang.String getCountry()
Gets the value of the country property.

Returns:
possible object is String

setCountry

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

Parameters:
value - allowed object is String

isSetCountry

public boolean isSetCountry()

withName

public Address withName(java.lang.String value)
Sets the value of the Name property.

Parameters:
value -
Returns:
this instance

withAddress1

public Address withAddress1(java.lang.String value)
Sets the value of the Address1 property.

Parameters:
value -
Returns:
this instance

withAddress2

public Address withAddress2(java.lang.String value)
Sets the value of the Address2 property.

Parameters:
value -
Returns:
this instance

withAddress3

public Address withAddress3(java.lang.String value)
Sets the value of the Address3 property.

Parameters:
value -
Returns:
this instance

withCity

public Address withCity(java.lang.String value)
Sets the value of the City property.

Parameters:
value -
Returns:
this instance

withState

public Address withState(java.lang.String value)
Sets the value of the State property.

Parameters:
value -
Returns:
this instance

withPostalCode

public Address withPostalCode(java.lang.String value)
Sets the value of the PostalCode property.

Parameters:
value -
Returns:
this instance

withCountry

public Address withCountry(java.lang.String value)
Sets the value of the Country property.

Parameters:
value -
Returns:
this instance

toXMLFragment

protected java.lang.String toXMLFragment()
XML fragment representation of this object

Returns:
XML fragment for this object. Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only