Class OrganizationAddress

java.lang.Object
org.orcid.jaxb.model.message.OrganizationAddress
All Implemented Interfaces:
Serializable

public class OrganizationAddress extends Object implements Serializable
Container for organization location information Java class for organization-address complex type. The following schema fragment specifies the expected content contained within this class.
 <complexType name="organization-address">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="city" type="{http://www.orcid.org/ns/orcid}non-empty-string"/>
         <element name="region" type="{http://www.orcid.org/ns/orcid}non-empty-string" minOccurs="0"/>
         <element name="country" type="{http://www.orcid.org/ns/orcid}iso-3166-country"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • OrganizationAddress

      public OrganizationAddress()
  • Method Details

    • getCity

      public String getCity()
      Gets the value of the city property.
      Returns:
      possible object is String
    • setCity

      public void setCity(String value)
      Sets the value of the city property.
      Parameters:
      value - allowed object is String
    • getRegion

      public String getRegion()
      Gets the value of the region property.
      Returns:
      possible object is String
    • setRegion

      public void setRegion(String value)
      Sets the value of the region property.
      Parameters:
      value - allowed object is String
    • getCountry

      public Iso3166Country getCountry()
      Gets the value of the country property.
      Returns:
      possible object is Iso3166Country
    • setCountry

      public void setCountry(Iso3166Country value)
      Sets the value of the country property.
      Parameters:
      value - allowed object is Iso3166Country
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object