org.fpml.fpml_5.confirmation.OilPipelineDelivery 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.XmlType;
/**
* The physical delivery conditions specific to an oil product delivered by pipeline.
*
* Java class for OilPipelineDelivery complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="OilPipelineDelivery">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="pipelineName" type="{http://www.fpml.org/FpML-5/confirmation}CommodityPipeline"/>
* <element name="withdrawalPoint" type="{http://www.fpml.org/FpML-5/confirmation}CommodityDeliveryPoint" minOccurs="0"/>
* <element name="entryPoint" type="{http://www.fpml.org/FpML-5/confirmation}CommodityDeliveryPoint" minOccurs="0"/>
* <element name="deliverableByBarge" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="risk" type="{http://www.fpml.org/FpML-5/confirmation}CommodityDeliveryRisk" minOccurs="0"/>
* <element name="cycle" type="{http://www.fpml.org/FpML-5/confirmation}CommodityPipelineCycle" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OilPipelineDelivery", propOrder = {
"pipelineName",
"withdrawalPoint",
"entryPoint",
"deliverableByBarge",
"risk",
"cycle"
})
public class OilPipelineDelivery {
@XmlElement(required = true)
protected CommodityPipeline pipelineName;
protected CommodityDeliveryPoint withdrawalPoint;
protected CommodityDeliveryPoint entryPoint;
protected boolean deliverableByBarge;
protected CommodityDeliveryRisk risk;
protected List cycle;
/**
* Gets the value of the pipelineName property.
*
* @return
* possible object is
* {@link CommodityPipeline }
*
*/
public CommodityPipeline getPipelineName() {
return pipelineName;
}
/**
* Sets the value of the pipelineName property.
*
* @param value
* allowed object is
* {@link CommodityPipeline }
*
*/
public void setPipelineName(CommodityPipeline value) {
this.pipelineName = value;
}
/**
* Gets the value of the withdrawalPoint property.
*
* @return
* possible object is
* {@link CommodityDeliveryPoint }
*
*/
public CommodityDeliveryPoint getWithdrawalPoint() {
return withdrawalPoint;
}
/**
* Sets the value of the withdrawalPoint property.
*
* @param value
* allowed object is
* {@link CommodityDeliveryPoint }
*
*/
public void setWithdrawalPoint(CommodityDeliveryPoint value) {
this.withdrawalPoint = value;
}
/**
* Gets the value of the entryPoint property.
*
* @return
* possible object is
* {@link CommodityDeliveryPoint }
*
*/
public CommodityDeliveryPoint getEntryPoint() {
return entryPoint;
}
/**
* Sets the value of the entryPoint property.
*
* @param value
* allowed object is
* {@link CommodityDeliveryPoint }
*
*/
public void setEntryPoint(CommodityDeliveryPoint value) {
this.entryPoint = value;
}
/**
* Gets the value of the deliverableByBarge property.
*
*/
public boolean isDeliverableByBarge() {
return deliverableByBarge;
}
/**
* Sets the value of the deliverableByBarge property.
*
*/
public void setDeliverableByBarge(boolean value) {
this.deliverableByBarge = value;
}
/**
* Gets the value of the risk property.
*
* @return
* possible object is
* {@link CommodityDeliveryRisk }
*
*/
public CommodityDeliveryRisk getRisk() {
return risk;
}
/**
* Sets the value of the risk property.
*
* @param value
* allowed object is
* {@link CommodityDeliveryRisk }
*
*/
public void setRisk(CommodityDeliveryRisk value) {
this.risk = value;
}
/**
* Gets the value of the cycle 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 cycle property.
*
*
* For example, to add a new item, do as follows:
*
* getCycle().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CommodityPipelineCycle }
*
*
*/
public List getCycle() {
if (cycle == null) {
cycle = new ArrayList();
}
return this.cycle;
}
}