
package com.smartgwt.sample.server;

import java.util.Arrays;

public class ArrayOfKeyValueOfdateTimedouble  {

    protected KeyValueOfdateTimedouble_type0[] localKeyValueOfdateTimedouble;

  
    protected boolean localKeyValueOfdateTimedoubleTracker = false;

    public boolean isKeyValueOfdateTimedoubleSpecified() {
        return localKeyValueOfdateTimedoubleTracker;
    }

    public KeyValueOfdateTimedouble_type0[] getKeyValueOfdateTimedouble() {
        return localKeyValueOfdateTimedouble;
    }

    protected void validateKeyValueOfdateTimedouble(
       KeyValueOfdateTimedouble_type0[] param) {
    }
  
    public void setKeyValueOfdateTimedouble(
       KeyValueOfdateTimedouble_type0[] param) {
        validateKeyValueOfdateTimedouble(param);

        localKeyValueOfdateTimedoubleTracker = param != null;

        this.localKeyValueOfdateTimedouble = param;
    }
   
    public void addKeyValueOfdateTimedouble(
       KeyValueOfdateTimedouble_type0 param) {
        if (localKeyValueOfdateTimedouble == null) {
            localKeyValueOfdateTimedouble = new KeyValueOfdateTimedouble_type0[] {
                    
                };
        }

        //update the setting tracker
        localKeyValueOfdateTimedoubleTracker = true;

        java.util.List list = Arrays.asList(localKeyValueOfdateTimedouble);
        list.add(param);
        this.localKeyValueOfdateTimedouble = (KeyValueOfdateTimedouble_type0[]) list.toArray(new KeyValueOfdateTimedouble_type0[list.size()]);
    }

}
