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

eu.fispace.api.lg.LegFinished Maven / Gradle / Ivy

There is a newer version: 0.17.5
Show newest version
//
// Este archivo ha sido generado por la arquitectura JavaTM para la implantación de la referencia de enlace (JAXB) XML v2.2.7 
// Visite http://java.sun.com/xml/jaxb 
// Todas las modificaciones realizadas en este archivo se perderán si se vuelve a compilar el esquema de origen. 
// Generado el: 2016.05.31 a las 10:59:27 PM CEST 
//


package eu.fispace.api.lg;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import eu.limetri.ygg.api.RequestMessage;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;


/**
 * 
 * Message sent from manual notification app to FIspace as well as
 * from FIspace to logistics planning app,
 * representing a notification about a leg that was finished.
 * 				
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "transportPlanID",
    "transportLegID"
})
@XmlRootElement(name = "LegFinished")
public class LegFinished
    extends RequestMessage
    implements Serializable, ToString
{

    @XmlElement(name = "TransportPlanID", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlID
    @XmlSchemaType(name = "ID")
    protected String transportPlanID;
    @XmlElement(name = "TransportLegID", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlID
    @XmlSchemaType(name = "ID")
    protected String transportLegID;

    /**
     * Obtiene el valor de la propiedad transportPlanID.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTransportPlanID() {
        return transportPlanID;
    }

    /**
     * Define el valor de la propiedad transportPlanID.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTransportPlanID(String value) {
        this.transportPlanID = value;
    }

    public boolean isSetTransportPlanID() {
        return (this.transportPlanID!= null);
    }

    /**
     * Obtiene el valor de la propiedad transportLegID.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTransportLegID() {
        return transportLegID;
    }

    /**
     * Define el valor de la propiedad transportLegID.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTransportLegID(String value) {
        this.transportLegID = value;
    }

    public boolean isSetTransportLegID() {
        return (this.transportLegID!= null);
    }

    public String toString() {
        final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
        final StringBuilder buffer = new StringBuilder();
        append(null, buffer, strategy);
        return buffer.toString();
    }

    public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
        strategy.appendStart(locator, this, buffer);
        appendFields(locator, buffer, strategy);
        strategy.appendEnd(locator, this, buffer);
        return buffer;
    }

    public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
        super.appendFields(locator, buffer, strategy);
        {
            String theTransportPlanID;
            theTransportPlanID = this.getTransportPlanID();
            strategy.appendField(locator, this, "transportPlanID", buffer, theTransportPlanID);
        }
        {
            String theTransportLegID;
            theTransportLegID = this.getTransportLegID();
            strategy.appendField(locator, this, "transportLegID", buffer, theTransportLegID);
        }
        return buffer;
    }

    public LegFinished withTransportPlanID(String value) {
        setTransportPlanID(value);
        return this;
    }

    public LegFinished withTransportLegID(String value) {
        setTransportLegID(value);
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy