Class MailingAddress
- java.lang.Object
-
- pt.cienciavitae.ns.common.RecordCtype
-
- pt.cienciavitae.ns.mailing_address.MailingAddress
-
public class MailingAddress extends RecordCtype
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <extension base="{http://www.cienciavitae.pt/ns/common}record-ctype"> <sequence> <element name="address-type" type="{http://www.cienciavitae.pt/ns/common}contact-type-ctype"/> <element name="street-address" type="{http://www.cienciavitae.pt/ns/common}string-255-stype"/> <element name="postal-code" type="{http://www.cienciavitae.pt/ns/common}string-10-stype"/> <element name="city" type="{http://www.cienciavitae.pt/ns/common}string-50-stype"/> <element name="province-state" type="{http://www.cienciavitae.pt/ns/common}string-50-stype"/> <element name="country" type="{http://www.cienciavitae.pt/ns/common}iso-3166-country-ctype"/> </sequence> <attribute name="preferred-mailing-address" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected ContactTypeCtypeaddressTypeprotected Stringcityprotected Iso3166CountryCtypecountryprotected StringpostalCodeprotected BooleanpreferredMailingAddressprotected StringprovinceStateprotected StringstreetAddress-
Fields inherited from class pt.cienciavitae.ns.common.RecordCtype
id, lastModifiedDate, privacyLevel, sourceName
-
-
Constructor Summary
Constructors Constructor Description MailingAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactTypeCtypegetAddressType()Gets the value of the addressType property.StringgetCity()Gets the value of the city property.Iso3166CountryCtypegetCountry()Gets the value of the country property.StringgetPostalCode()Gets the value of the postalCode property.StringgetProvinceState()Gets the value of the provinceState property.StringgetStreetAddress()Gets the value of the streetAddress property.booleanisPreferredMailingAddress()Gets the value of the preferredMailingAddress property.voidsetAddressType(ContactTypeCtype value)Sets the value of the addressType property.voidsetCity(String value)Sets the value of the city property.voidsetCountry(Iso3166CountryCtype value)Sets the value of the country property.voidsetPostalCode(String value)Sets the value of the postalCode property.voidsetPreferredMailingAddress(Boolean value)Sets the value of the preferredMailingAddress property.voidsetProvinceState(String value)Sets the value of the provinceState property.voidsetStreetAddress(String value)Sets the value of the streetAddress property.-
Methods inherited from class pt.cienciavitae.ns.common.RecordCtype
getId, getLastModifiedDate, getPrivacyLevel, getSourceName, setId, setLastModifiedDate, setPrivacyLevel, setSourceName
-
-
-
-
Field Detail
-
addressType
protected ContactTypeCtype addressType
-
streetAddress
protected String streetAddress
-
postalCode
protected String postalCode
-
city
protected String city
-
provinceState
protected String provinceState
-
country
protected Iso3166CountryCtype country
-
preferredMailingAddress
protected Boolean preferredMailingAddress
-
-
Method Detail
-
getAddressType
public ContactTypeCtype getAddressType()
Gets the value of the addressType property.- Returns:
- possible object is
ContactTypeCtype
-
setAddressType
public void setAddressType(ContactTypeCtype value)
Sets the value of the addressType property.- Parameters:
value- allowed object isContactTypeCtype
-
getStreetAddress
public String getStreetAddress()
Gets the value of the streetAddress property.- Returns:
- possible object is
String
-
setStreetAddress
public void setStreetAddress(String value)
Sets the value of the streetAddress property.- Parameters:
value- allowed object isString
-
getPostalCode
public String getPostalCode()
Gets the value of the postalCode property.- Returns:
- possible object is
String
-
setPostalCode
public void setPostalCode(String value)
Sets the value of the postalCode property.- Parameters:
value- allowed object isString
-
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 isString
-
getProvinceState
public String getProvinceState()
Gets the value of the provinceState property.- Returns:
- possible object is
String
-
setProvinceState
public void setProvinceState(String value)
Sets the value of the provinceState property.- Parameters:
value- allowed object isString
-
getCountry
public Iso3166CountryCtype getCountry()
Gets the value of the country property.- Returns:
- possible object is
Iso3166CountryCtype
-
setCountry
public void setCountry(Iso3166CountryCtype value)
Sets the value of the country property.- Parameters:
value- allowed object isIso3166CountryCtype
-
isPreferredMailingAddress
public boolean isPreferredMailingAddress()
Gets the value of the preferredMailingAddress property.- Returns:
- possible object is
Boolean
-
-