net.finmath.smartcontract.product.xml.ContactInformation Maven / Gradle / Ivy
Show all versions of finmath-smart-derivative-contract Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.12.05 at 10:53:57 AM CET
//
package net.finmath.smartcontract.product.xml;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* A type that represents how to contact an individual or organization.
*
*
* Java class for ContactInformation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ContactInformation">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="telephone" type="{http://www.fpml.org/FpML-5/confirmation}TelephoneNumber" maxOccurs="unbounded" minOccurs="0"/>
* <element name="email" type="{http://www.fpml.org/FpML-5/confirmation}NormalizedString" maxOccurs="unbounded" minOccurs="0"/>
* <element name="address" type="{http://www.fpml.org/FpML-5/confirmation}Address" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ContactInformation", propOrder = {
"telephone",
"email",
"address"
})
public class ContactInformation {
protected List telephone;
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected List email;
protected Address address;
/**
* Gets the value of the telephone 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 set
method for the telephone property.
*
*
* For example, to add a new item, do as follows:
*
* getTelephone().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TelephoneNumber }
*
*
*/
public List getTelephone() {
if (telephone == null) {
telephone = new ArrayList();
}
return this.telephone;
}
/**
* Gets the value of the email 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 set
method for the email property.
*
*
* For example, to add a new item, do as follows:
*
* getEmail().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getEmail() {
if (email == null) {
email = new ArrayList();
}
return this.email;
}
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link Address }
*
*/
public Address getAddress() {
return address;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link Address }
*
*/
public void setAddress(Address value) {
this.address = value;
}
}