gov.nih.nci.cagrid.metadata.common
Class Address

java.lang.Object
  extended by gov.nih.nci.cagrid.metadata.common.Address
All Implemented Interfaces:
java.io.Serializable

public class Address
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Address()
           
Address(java.lang.String country, java.lang.String locality, java.lang.String postalCode, java.lang.String stateProvince, java.lang.String street1, java.lang.String street2)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCountry()
          Gets the country value for this Address.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getLocality()
          Gets the locality value for this Address.
 java.lang.String getPostalCode()
          Gets the postalCode value for this Address.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.lang.String getStateProvince()
          Gets the stateProvince value for this Address.
 java.lang.String getStreet1()
          Gets the street1 value for this Address.
 java.lang.String getStreet2()
          Gets the street2 value for this Address.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCountry(java.lang.String country)
          Sets the country value for this Address.
 void setLocality(java.lang.String locality)
          Sets the locality value for this Address.
 void setPostalCode(java.lang.String postalCode)
          Sets the postalCode value for this Address.
 void setStateProvince(java.lang.String stateProvince)
          Sets the stateProvince value for this Address.
 void setStreet1(java.lang.String street1)
          Sets the street1 value for this Address.
 void setStreet2(java.lang.String street2)
          Sets the street2 value for this Address.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Address

public Address()

Address

public Address(java.lang.String country,
               java.lang.String locality,
               java.lang.String postalCode,
               java.lang.String stateProvince,
               java.lang.String street1,
               java.lang.String street2)
Method Detail

getCountry

public java.lang.String getCountry()
Gets the country value for this Address.

Returns:
country

setCountry

public void setCountry(java.lang.String country)
Sets the country value for this Address.

Parameters:
country -

getLocality

public java.lang.String getLocality()
Gets the locality value for this Address.

Returns:
locality

setLocality

public void setLocality(java.lang.String locality)
Sets the locality value for this Address.

Parameters:
locality -

getPostalCode

public java.lang.String getPostalCode()
Gets the postalCode value for this Address.

Returns:
postalCode

setPostalCode

public void setPostalCode(java.lang.String postalCode)
Sets the postalCode value for this Address.

Parameters:
postalCode -

getStateProvince

public java.lang.String getStateProvince()
Gets the stateProvince value for this Address.

Returns:
stateProvince

setStateProvince

public void setStateProvince(java.lang.String stateProvince)
Sets the stateProvince value for this Address.

Parameters:
stateProvince -

getStreet1

public java.lang.String getStreet1()
Gets the street1 value for this Address.

Returns:
street1

setStreet1

public void setStreet1(java.lang.String street1)
Sets the street1 value for this Address.

Parameters:
street1 -

getStreet2

public java.lang.String getStreet2()
Gets the street2 value for this Address.

Returns:
street2

setStreet2

public void setStreet2(java.lang.String street2)
Sets the street2 value for this Address.

Parameters:
street2 -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer


Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.