org.fpml.fpml_5.confirmation.OtherAgreement Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.05.10 at 03:58:40 PM UTC
//
package org.fpml.fpml_5.confirmation;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* An entity for defining the an agreement executed between parties.
*
* Java class for OtherAgreement complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="OtherAgreement">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="identifier" type="{http://www.fpml.org/FpML-5/confirmation}OtherAgreementId" maxOccurs="unbounded" minOccurs="0"/>
* <element name="type" type="{http://www.fpml.org/FpML-5/confirmation}OtherAgreementType"/>
* <element name="version" type="{http://www.fpml.org/FpML-5/confirmation}OtherAgreementVersion" minOccurs="0"/>
* <element name="date" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OtherAgreement", propOrder = {
"identifier",
"type",
"version",
"date"
})
public class OtherAgreement {
protected List identifier;
@XmlElement(required = true)
protected OtherAgreementType type;
protected OtherAgreementVersion version;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar date;
/**
* Gets the value of the identifier 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 JAXB object.
* This is why there is not a set
method for the identifier property.
*
*
* For example, to add a new item, do as follows:
*
* getIdentifier().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OtherAgreementId }
*
*
*/
public List getIdentifier() {
if (identifier == null) {
identifier = new ArrayList();
}
return this.identifier;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link OtherAgreementType }
*
*/
public OtherAgreementType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link OtherAgreementType }
*
*/
public void setType(OtherAgreementType value) {
this.type = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link OtherAgreementVersion }
*
*/
public OtherAgreementVersion getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link OtherAgreementVersion }
*
*/
public void setVersion(OtherAgreementVersion value) {
this.version = value;
}
/**
* Gets the value of the date property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDate() {
return date;
}
/**
* Sets the value of the date property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDate(XMLGregorianCalendar value) {
this.date = value;
}
}