package eu.europa.ec.markt.dss.ws.signature;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for signerLocation complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="signerLocation">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="city" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="country" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="locality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="postalAddress" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="postalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="stateOrProvince" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "signerLocation", propOrder = {
"city",
"country",
"locality",
"postalAddress",
"postalCode",
"stateOrProvince"
})
public class SignerLocation {
protected String city;
protected String country;
protected String locality;
@XmlElement(nillable = true)
protected List<String> postalAddress;
protected String postalCode;
protected String stateOrProvince;
/**
* Gets the value of the city property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCity() {
return city;
}
/**
* Sets the value of the city property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCity(String value) {
this.city = value;
}
/**
* Gets the value of the country property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCountry() {
return country;
}
/**
* Sets the value of the country property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCountry(String value) {
this.country = value;
}
/**
* Gets the value of the locality property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocality() {
return locality;
}
/**
* Sets the value of the locality property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocality(String value) {
this.locality = value;
}
/**
* Gets the value of the postalAddress property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the postalAddress property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPostalAddress().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getPostalAddress() {
if (postalAddress == null) {
postalAddress = new ArrayList<String>();
}
return this.postalAddress;
}
/**
* Gets the value of the postalCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPostalCode() {
return postalCode;
}
/**
* Sets the value of the postalCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPostalCode(String value) {
this.postalCode = value;
}
/**
* Gets the value of the stateOrProvince property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStateOrProvince() {
return stateOrProvince;
}
/**
* Sets the value of the stateOrProvince property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStateOrProvince(String value) {
this.stateOrProvince = value;
}
}