/*
 * ECatalog is a database front-end, with two main features:
 * 1. Use of preferences
 *  A preference-based approach, where the user is allowed to define the importance of each criterion.
 *  Then the items are ranked accordingly to his criteria.
 * 2. Trade-off analysis
 *  A cooperative database approach, where the system "argues" with the user about his criteria.
 *  When there are no matching items, the system explains the minimal conflicting set and
 *  give some possible strong and weak relaxations about his criteria.
 * This package also containts the software and the set-up details used for our User Study,
 * comparing the use or not of the two previous features mentioned above.
 *
 * Copyright (C) 2006 David Portabella Clotet, Artificial Intelligence Laboratory, EPFL
 * 
 * This file is part of ecatalog-1.0.zip
 * 
 * ECatalog is free software and a free user study set-up;
 * you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * ECatalog is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with ECatalog; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 * 
 * @version 1.0
 * @author David Portabella
 * To contact the author:
 * email: david@portabella.name and david.portabella@epfl.ch
 * 
 * More information about ECatalog:
 *  http://sourceforge.net/projects/ecatalog/
 *  http://icwww.epfl.ch/~portabel/ecatalogs/
 */

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2006.07.13 at 01:17:34 PM CEST 
//


package ecatalog.jaxb.ecatalogConfig;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.AccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import ecatalog.jaxb.ecatalogConfig.AttributeType;
import ecatalog.jaxb.ecatalogConfig.ECatalogConfigType;


/**
 * <p>Java class for ECatalogConfigType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="ECatalogConfigType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="DBURL" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="fromClause" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="whereClause" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="initFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="preferencesAllowed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="prospectiveAnalysisDisplayed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="conflictAnalysisDisplayed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="exampleDisplayed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="contextualToolTipDisplayed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="constraintStringFunctionsEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="itemTableRendererClassName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="criteriaPanelWidth" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
 *         &lt;element name="attribute" type="{}AttributeType" maxOccurs="unbounded"/>
 *       &lt;/sequence>
 *       &lt;attribute name="title" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(AccessType.FIELD)
@XmlType(name = "ECatalogConfigType", propOrder = {
    "dburl",
    "fromClause",
    "whereClause",
    "initFunction",
    "preferencesAllowed",
    "prospectiveAnalysisDisplayed",
    "conflictAnalysisDisplayed",
    "exampleDisplayed",
    "contextualToolTipDisplayed",
    "constraintStringFunctionsEnabled",
    "itemTableRendererClassName",
    "criteriaPanelWidth",
    "attribute"
})
public class ECatalogConfigType {

    @XmlElement(name = "DBURL")
    protected String dburl;
    protected String fromClause;
    protected String whereClause;
    protected String initFunction;
    @XmlElement(type = Boolean.class, defaultValue = "false")
    protected boolean preferencesAllowed;
    @XmlElement(type = Boolean.class, defaultValue = "true")
    protected boolean prospectiveAnalysisDisplayed;
    @XmlElement(type = Boolean.class, defaultValue = "true")
    protected boolean conflictAnalysisDisplayed;
    @XmlElement(type = Boolean.class, defaultValue = "true")
    protected boolean exampleDisplayed;
    @XmlElement(type = Boolean.class, defaultValue = "true")
    protected boolean contextualToolTipDisplayed;
    @XmlElement(type = Boolean.class, defaultValue = "true")
    protected boolean constraintStringFunctionsEnabled;
    protected String itemTableRendererClassName;
    protected BigInteger criteriaPanelWidth;
    protected List<AttributeType> attribute;
    @XmlAttribute(required = true)
    protected String title;

    /**
     * Gets the value of the dburl property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDBURL() {
        return dburl;
    }

    /**
     * Sets the value of the dburl property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDBURL(String value) {
        this.dburl = value;
    }

    /**
     * Gets the value of the fromClause property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFromClause() {
        return fromClause;
    }

    /**
     * Sets the value of the fromClause property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setFromClause(String value) {
        this.fromClause = value;
    }

    /**
     * Gets the value of the whereClause property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getWhereClause() {
        return whereClause;
    }

    /**
     * Sets the value of the whereClause property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setWhereClause(String value) {
        this.whereClause = value;
    }

    /**
     * Gets the value of the initFunction property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getInitFunction() {
        return initFunction;
    }

    /**
     * Sets the value of the initFunction property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setInitFunction(String value) {
        this.initFunction = value;
    }

    /**
     * Gets the value of the preferencesAllowed property.
     * 
     */
    public boolean isPreferencesAllowed() {
        return preferencesAllowed;
    }

    /**
     * Sets the value of the preferencesAllowed property.
     * 
     */
    public void setPreferencesAllowed(boolean value) {
        this.preferencesAllowed = value;
    }

    /**
     * Gets the value of the prospectiveAnalysisDisplayed property.
     * 
     */
    public boolean isProspectiveAnalysisDisplayed() {
        return prospectiveAnalysisDisplayed;
    }

    /**
     * Sets the value of the prospectiveAnalysisDisplayed property.
     * 
     */
    public void setProspectiveAnalysisDisplayed(boolean value) {
        this.prospectiveAnalysisDisplayed = value;
    }

    /**
     * Gets the value of the conflictAnalysisDisplayed property.
     * 
     */
    public boolean isConflictAnalysisDisplayed() {
        return conflictAnalysisDisplayed;
    }

    /**
     * Sets the value of the conflictAnalysisDisplayed property.
     * 
     */
    public void setConflictAnalysisDisplayed(boolean value) {
        this.conflictAnalysisDisplayed = value;
    }

    /**
     * Gets the value of the exampleDisplayed property.
     * 
     */
    public boolean isExampleDisplayed() {
        return exampleDisplayed;
    }

    /**
     * Sets the value of the exampleDisplayed property.
     * 
     */
    public void setExampleDisplayed(boolean value) {
        this.exampleDisplayed = value;
    }

    /**
     * Gets the value of the contextualToolTipDisplayed property.
     * 
     */
    public boolean isContextualToolTipDisplayed() {
        return contextualToolTipDisplayed;
    }

    /**
     * Sets the value of the contextualToolTipDisplayed property.
     * 
     */
    public void setContextualToolTipDisplayed(boolean value) {
        this.contextualToolTipDisplayed = value;
    }

    /**
     * Gets the value of the constraintStringFunctionsEnabled property.
     * 
     */
    public boolean isConstraintStringFunctionsEnabled() {
        return constraintStringFunctionsEnabled;
    }

    /**
     * Sets the value of the constraintStringFunctionsEnabled property.
     * 
     */
    public void setConstraintStringFunctionsEnabled(boolean value) {
        this.constraintStringFunctionsEnabled = value;
    }

    /**
     * Gets the value of the itemTableRendererClassName property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getItemTableRendererClassName() {
        return itemTableRendererClassName;
    }

    /**
     * Sets the value of the itemTableRendererClassName property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setItemTableRendererClassName(String value) {
        this.itemTableRendererClassName = value;
    }

    /**
     * Gets the value of the criteriaPanelWidth property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getCriteriaPanelWidth() {
        return criteriaPanelWidth;
    }

    /**
     * Sets the value of the criteriaPanelWidth property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setCriteriaPanelWidth(BigInteger value) {
        this.criteriaPanelWidth = value;
    }

    /**
     * Gets the value of the attribute property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the attribute property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getAttribute().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link AttributeType }
     * 
     * 
     */
    public List<AttributeType> getAttribute() {
        if (attribute == null) {
            attribute = new ArrayList<AttributeType>();
        }
        return this.attribute;
    }

    /**
     * Gets the value of the title property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTitle() {
        return title;
    }

    /**
     * Sets the value of the title property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTitle(String value) {
        this.title = value;
    }

}

