Class AddressType
Java class for Address_Type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Address_Type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CountryCode">
<simpleType>
<restriction base="{urn:oecd:ties:isodpitypes:v1}CountryCode_Type">
<minLength value="1"/>
<maxLength value="2"/>
</restriction>
</simpleType>
</element>
<choice>
<element name="AddressFree" type="{urn:oecd:ties:dpistf:v1}StringMin1Max4000_Type"/>
<sequence>
<element name="AddressFix" type="{urn:oecd:ties:dpi:v1}AddressFix_Type"/>
<element name="AddressFree" type="{urn:oecd:ties:dpistf:v1}StringMin1Max4000_Type" minOccurs="0"/>
</sequence>
</choice>
</sequence>
<attribute name="legalAddressType" type="{urn:oecd:ties:dpistf:v1}OECDLegalAddressType_EnumType" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<jakarta.xml.bind.JAXBElement<?>>protected OECDLegalAddressTypeEnumType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<jakarta.xml.bind.JAXBElement<?>>Gets the rest of the content model.Gets the value of the legalAddressType property.voidSets the value of the legalAddressType property.
-
Field Details
-
-
legalAddressType
-
-
Constructor Details
-
AddressType
public AddressType()
-
-
Method Details
-
getContent
Gets the rest of the content model.You are getting this "catch-all" property because of the following reason: The field name "AddressFree" is used by two different parts of a schema.
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content property.
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 Jakarta XML Binding object. This is why there is not a
setmethod for the content property.For example, to add a new item, do as follows:
getContent().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<String>JAXBElement<AddressFixType>JAXBElement<CountryCodeType> -
getLegalAddressType
Gets the value of the legalAddressType property.- Returns:
- possible object is
OECDLegalAddressTypeEnumType
-
setLegalAddressType
Sets the value of the legalAddressType property.- Parameters:
value- allowed object isOECDLegalAddressTypeEnumType
-