All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fpml.fpml_5.confirmation.Metal Maven / Gradle / Ivy

There is a newer version: 6.0.0-dev.61
Show newest version
//
// 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.XmlType;


/**
 * A type defining the characteristics of the metal product being traded in a physically settled metal transaction.
 * 
 * 

Java class for Metal complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Metal">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="material" type="{http://www.fpml.org/FpML-5/confirmation}Material"/>
 *         <sequence>
 *           <element name="shape" type="{http://www.fpml.org/FpML-5/confirmation}CommodityMetalShape" maxOccurs="unbounded"/>
 *         </sequence>
 *         <sequence>
 *           <element name="brand" type="{http://www.fpml.org/FpML-5/confirmation}CommodityMetalBrand" maxOccurs="unbounded" minOccurs="0"/>
 *         </sequence>
 *         <sequence>
 *           <element name="grade" type="{http://www.fpml.org/FpML-5/confirmation}CommodityMetalGrade" maxOccurs="unbounded"/>
 *         </sequence>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Metal", propOrder = { "material", "shape", "brand", "grade" }) public class Metal { @XmlElement(required = true) protected Material material; @XmlElement(required = true) protected List shape; protected List brand; @XmlElement(required = true) protected List grade; /** * Gets the value of the material property. * * @return * possible object is * {@link Material } * */ public Material getMaterial() { return material; } /** * Sets the value of the material property. * * @param value * allowed object is * {@link Material } * */ public void setMaterial(Material value) { this.material = value; } /** * Gets the value of the shape 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 shape property. * *

* For example, to add a new item, do as follows: *

     *    getShape().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CommodityMetalShape } * * */ public List getShape() { if (shape == null) { shape = new ArrayList(); } return this.shape; } /** * Gets the value of the brand 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 brand property. * *

* For example, to add a new item, do as follows: *

     *    getBrand().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CommodityMetalBrand } * * */ public List getBrand() { if (brand == null) { brand = new ArrayList(); } return this.brand; } /** * Gets the value of the grade 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 grade property. * *

* For example, to add a new item, do as follows: *

     *    getGrade().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CommodityMetalGrade } * * */ public List getGrade() { if (grade == null) { grade = new ArrayList(); } return this.grade; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy