/**
 * ItemVariableData.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis2 version: 1.7.4  Built on : Oct 21, 2016 (10:48:01 BST)
 */
package com.smartgwt.sample.server;


public class ItemVariableData {
    /* This type was generated from the piece of schema that had
       name = ItemVariableData
       Namespace URI = http://schemas.datacontract.org/2004/07/Adnet.Contracts.Model
       Namespace Prefix =
     */

    /**
     * field for CapacityContract
     */
    protected java.lang.String localCapacityContract;

    /*  This tracker boolean wil be used to detect whether the user called the set method
     *   for this attribute. It will be used to determine whether to include this field
     *   in the serialized XML
     */
    protected boolean localCapacityContractTracker = false;

    /**
     * field for CapacityContractType
     */
    protected java.lang.String localCapacityContractType;

    /*  This tracker boolean wil be used to detect whether the user called the set method
     *   for this attribute. It will be used to determine whether to include this field
     *   in the serialized XML
     */
    protected boolean localCapacityContractTypeTracker = false;

    /**
     * field for Date
     */
    protected java.util.Calendar localDate;

    /*  This tracker boolean wil be used to detect whether the user called the set method
     *   for this attribute. It will be used to determine whether to include this field
     *   in the serialized XML
     */
    protected boolean localDateTracker = false;

    /**
     * field for DeliveryPartner
     */
//    protected com.sgwt.test.server.dto.Partner localDeliveryPartner;

    /*  This tracker boolean wil be used to detect whether the user called the set method
     *   for this attribute. It will be used to determine whether to include this field
     *   in the serialized XML
     */
    protected boolean localDeliveryPartnerTracker = false;

    /**
     * field for Id
     */
    protected int localId;

    /*  This tracker boolean wil be used to detect whether the user called the set method
     *   for this attribute. It will be used to determine whether to include this field
     *   in the serialized XML
     */
    protected boolean localIdTracker = false;

    public boolean isCapacityContractSpecified() {
        return localCapacityContractTracker;
    }

    /**
     * Auto generated getter method
     * @return java.lang.String
     */
    public java.lang.String getCapacityContract() {
        return localCapacityContract;
    }

    /**
     * Auto generated setter method
     * @param param CapacityContract
     */
    public void setCapacityContract(java.lang.String param) {
        localCapacityContractTracker = true;

        this.localCapacityContract = param;
    }

    public boolean isCapacityContractTypeSpecified() {
        return localCapacityContractTypeTracker;
    }

    /**
     * Auto generated getter method
     * @return java.lang.String
     */
    public java.lang.String getCapacityContractType() {
        return localCapacityContractType;
    }

    /**
     * Auto generated setter method
     * @param param CapacityContractType
     */
    public void setCapacityContractType(java.lang.String param) {
        localCapacityContractTypeTracker = true;

        this.localCapacityContractType = param;
    }

    public boolean isDateSpecified() {
        return localDateTracker;
    }

    /**
     * Auto generated getter method
     * @return java.util.Calendar
     */
    public java.util.Calendar getDate() {
        return localDate;
    }

    /**
     * Auto generated setter method
     * @param param Date
     */
    public void setDate(java.util.Calendar param) {
        localDateTracker = param != null;

        this.localDate = param;
    }

    public boolean isDeliveryPartnerSpecified() {
        return localDeliveryPartnerTracker;
    }

    /**
     * Auto generated getter method
     * @return com.sgwt.test.server.dto.Partner
     */
//    public com.sgwt.test.server.dto.Partner getDeliveryPartner() {
//        return localDeliveryPartner;
//    }
//
//    /**
//     * Auto generated setter method
//     * @param param DeliveryPartner
//     */
//    public void setDeliveryPartner(
//        com.sgwt.test.server.dto.Partner param) {
//        localDeliveryPartnerTracker = true;
//
//        this.localDeliveryPartner = param;
//    }

    public boolean isIdSpecified() {
        return localIdTracker;
    }

    /**
     * Auto generated getter method
     * @return int
     */
    public int getId() {
        return localId;
    }

    /**
     * Auto generated setter method
     * @param param Id
     */
    public void setId(int param) {
        // setting primitive attribute tracker to true
        localIdTracker = param != java.lang.Integer.MIN_VALUE;

        this.localId = param;
    }

}
