
package com.smartgwt.sample.server;


public class Contract{
   
    protected java.lang.String localCapacityContractType;

   
    protected java.lang.String localCategoryType;
    
    protected int localId;
    
    protected ArrayOfItem localItems;

    protected boolean localItemsTracker = false;

    protected java.lang.String localName;

 
    protected boolean localNameTracker = false;
   
    protected java.util.Calendar localTimeFrom;

    
    protected boolean localTimeFromTracker = false;


    protected java.util.Calendar localTimeTo;
   
    protected boolean localTimeToTracker = false;

   
    protected boolean localTradeBasisTracker = false;

    
    protected boolean localTypeTracker = false;
   
    public java.lang.String getCapacityContractType() {
        return localCapacityContractType;
    }

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

        this.localCapacityContractType = param;
    }

    public java.lang.String getCategoryType() {
        return localCategoryType;
    }

    public void setCategoryType(java.lang.String param) { 
        this.localCategoryType = param;
    }

    public int getId() {
        return localId;
    }

   
    public void setId(int param) {
        this.localId = param;
    }

    public boolean isItemsSpecified() {
        return localItemsTracker;
    }

   
    public ArrayOfItem getItems() {
        return localItems;
    }

   
    public void setItems(
       ArrayOfItem param) {
        localItemsTracker = true;

        this.localItems = param;
    }

    public boolean isNameSpecified() {
        return localNameTracker;
    }

    
    public java.lang.String getName() {
        return localName;
    }

  
    public void setName(java.lang.String param) {
        localNameTracker = true;

        this.localName = param;
    }

    public boolean isTimeFromSpecified() {
        return localTimeFromTracker;
    }
    
    public java.util.Calendar getTimeFrom() {
        return localTimeFrom;
    }
    
    public void setTimeFrom(java.util.Calendar param) {
        localTimeFromTracker = param != null;

        this.localTimeFrom = param;
    }

    public boolean isTimeToSpecified() {
        return localTimeToTracker;
    }

    
    public java.util.Calendar getTimeTo() {
        return localTimeTo;
    }

  
    public void setTimeTo(java.util.Calendar param) {
        localTimeToTracker = param != null;

        this.localTimeTo = param;
    }

    public boolean isTradeBasisSpecified() {
        return localTradeBasisTracker;
    }


    public boolean isTypeSpecified() {
        return localTypeTracker;
    }

   

}
