/**
 * TimeSeries.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 TimeSeries  {
    /* This type was generated from the piece of schema that had
       name = TimeSeries
       Namespace URI = http://schemas.datacontract.org/2004/07/Adnet.Contracts.Model
       Namespace Prefix =
     */

    /**
     * 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;

    /**
     * field for Name
     */
    protected java.lang.String localName;

    /*  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 localNameTracker = false;

    /**
     * field for OuterId
     */
    protected java.lang.String localOuterId;

    /*  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 localOuterIdTracker = false;

    /**
     * field for SeriesType
     */
    protected EnTimeSeriesPeriodType localSeriesType;

    /*  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 localSeriesTypeTracker = false;

    /**
     * field for Sum
     */
    protected double localSum;

    /*  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 localSumTracker = false;

    /**
     * field for TimeSeriesDefinition
     */
//    protected com.sgwt.test.server.dto.TimeSeriesDefinition localTimeSeriesDefinition;

    /*  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 localTimeSeriesDefinitionTracker = false;

    /**
     * field for Values
     */
    protected ArrayOfKeyValueOfdateTimedouble localValues;

    /*  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 localValuesTracker = false;

    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;
    }

    public boolean isNameSpecified() {
        return localNameTracker;
    }

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

    /**
     * Auto generated setter method
     * @param param Name
     */
    public void setName(java.lang.String param) {
        localNameTracker = true;

        this.localName = param;
    }

    public boolean isOuterIdSpecified() {
        return localOuterIdTracker;
    }

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

    /**
     * Auto generated setter method
     * @param param OuterId
     */
    public void setOuterId(java.lang.String param) {
        localOuterIdTracker = true;

        this.localOuterId = param;
    }

    public boolean isSeriesTypeSpecified() {
        return localSeriesTypeTracker;
    }

    /**
     * Auto generated getter method
     * @return com.sgwt.test.server.dto.EnTimeSeriesPeriodType
     */
    public EnTimeSeriesPeriodType getSeriesType() {
        return localSeriesType;
    }

    /**
     * Auto generated setter method
     * @param param SeriesType
     */
    public void setSeriesType(
       EnTimeSeriesPeriodType param) {
        localSeriesTypeTracker = param != null;

        this.localSeriesType = param;
    }

    public boolean isSumSpecified() {
        return localSumTracker;
    }

    /**
     * Auto generated getter method
     * @return double
     */
    public double getSum() {
        return localSum;
    }

    /**
     * Auto generated setter method
     * @param param Sum
     */
    public void setSum(double param) {
        // setting primitive attribute tracker to true
        localSumTracker = !java.lang.Double.isNaN(param);

        this.localSum = param;
    }

    public boolean isTimeSeriesDefinitionSpecified() {
        return localTimeSeriesDefinitionTracker;
    }

    /**
     * Auto generated getter method
     * @return com.sgwt.test.server.dto.TimeSeriesDefinition
     */
//    public com.sgwt.test.server.dto.TimeSeriesDefinition getTimeSeriesDefinition() {
//        return localTimeSeriesDefinition;
//    }

    /**
     * Auto generated setter method
     * @param param TimeSeriesDefinition
     */
//    public void setTimeSeriesDefinition(
//        com.sgwt.test.server.dto.TimeSeriesDefinition param) {
//        localTimeSeriesDefinitionTracker = true;
//
//        this.localTimeSeriesDefinition = param;
//    }

    public boolean isValuesSpecified() {
        return localValuesTracker;
    }

    /**
     * Auto generated getter method
     * @return com.sgwt.test.server.dto.ArrayOfKeyValueOfdateTimedouble
     */
    public ArrayOfKeyValueOfdateTimedouble getValues() {
        return localValues;
    }

    /**
     * Auto generated setter method
     * @param param Values
     */
    public void setValues(
       ArrayOfKeyValueOfdateTimedouble param) {
        localValuesTracker = true;

        this.localValues = param;
    }

}
