<?xml version="1.0" encoding="UTF-8"?>
<config title="movies">
  <DBURL>jdbc:mysql://liapc1:3306/test?user=test3&amp;password=kelos</DBURL>

  <preferencesAllowed>true</preferencesAllowed>
  <prospectiveAnalysisDisplayed>true</prospectiveAnalysisDisplayed>
  <conflictAnalysisDisplayed>true</conflictAnalysisDisplayed>
  <exampleDisplayed>true</exampleDisplayed>
  <contextualToolTipDisplayed>false</contextualToolTipDisplayed>

<!--  <itemTableRendererClassName>external.MovieItemTableRenderer</itemTableRendererClassName> -->
  <criteriaPanelWidth>380</criteriaPanelWidth>


  <!--  <DBURL>jdbc:derby:testB</DBURL> -->
  <fromClause>movies2</fromClause>

  <attribute id="releaseYear" label="release year" type="number" helpPrompt="The Release Year"
	     defaultConstraintIndex="2">
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="EQUAL" offsetFraction="0.0011"/></cconfig>
    </constraint>
    
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="LESS_THAN_OR_EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="LESS" offsetFraction="0.0011"/></cconfig>
    </constraint>
    
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="MORE_THAN_OR_EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="MORE" offsetFraction="0.0011"/></cconfig>
    </constraint>
  </attribute>


  <attribute id="genre" label="Genre" helpPrompt="Movie genre"
	     defaultConstraintIndex="1">
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui"><cconfig type="EQUAL"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="INCLUDE"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="EXCLUDE"/></constraint>
  </attribute>

  <attribute id="country" label="Country" helpPrompt="Country"
	     defaultConstraintIndex="1">
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui"><cconfig type="EQUAL"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="INCLUDE"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="EXCLUDE"/></constraint>
  </attribute>

  <attribute id="language" label="Language" helpPrompt="Language"
	     defaultConstraintIndex="1">
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui"><cconfig type="EQUAL"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="INCLUDE"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="EXCLUDE"/></constraint>
  </attribute>

  <attribute id="runtime" label="Runtime" type="number" helpPrompt="Runtime of the movie, in minutes"
     defaultConstraintIndex="1">
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="EQUAL" offsetFraction="0.4"/></cconfig>
    </constraint>

    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="LESS_THAN_OR_EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="LESS" offsetFraction="0.4"/></cconfig>
    </constraint>

    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="MORE_THAN_OR_EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="MORE" offsetFraction="0.4"/></cconfig>
    </constraint>
  </attribute>

  <attribute id="cast" label="Cast" helpPrompt="Cast"
	     defaultConstraintIndex="1">
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui"><cconfig type="EQUAL"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="INCLUDE"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="EXCLUDE"/></constraint>
  </attribute>

  <attribute id="oscars" label="Oscars" type="number" helpPrompt="Oscars"
     defaultConstraintIndex="2">
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="EQUAL" offsetFraction="0.4"/></cconfig>
    </constraint>

    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="LESS_THAN_OR_EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="LESS" offsetFraction="0.4"/></cconfig>
    </constraint>

    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="MORE_THAN_OR_EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="MORE" offsetFraction="0.4"/></cconfig>
    </constraint>
  </attribute>

  <attribute id="nominationsOscars" label="Oscar nomiantions" type="number" helpPrompt="Oscars nominations"
     defaultConstraintIndex="2">
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="EQUAL" offsetFraction="0.4"/></cconfig>
    </constraint>

    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="LESS_THAN_OR_EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="LESS" offsetFraction="0.4"/></cconfig>
    </constraint>

    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="MORE_THAN_OR_EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="MORE" offsetFraction="0.4"/></cconfig>
    </constraint>
  </attribute>

  <attribute id="winsOthers" label="Other awards" type="number" helpPrompt="Other Awards"
     defaultConstraintIndex="2">
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="EQUAL" offsetFraction="0.4"/></cconfig>
    </constraint>

    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="LESS_THAN_OR_EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="LESS" offsetFraction="0.4"/></cconfig>
    </constraint>

    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="MORE_THAN_OR_EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="MORE" offsetFraction="0.4"/></cconfig>
    </constraint>
  </attribute>

  <attribute id="nominationsOthers" label="Other Nominations" type="number" helpPrompt="Other nominations">
     defaultConstraintIndex="2">
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="EQUAL" offsetFraction="0.4"/></cconfig>
    </constraint>

    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="LESS_THAN_OR_EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="LESS" offsetFraction="0.4"/></cconfig>
    </constraint>

    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui">
      <cconfig type="MORE_THAN_OR_EQUAL" penaltyClassName="ecatalog.db.SimpleShapePenaltyFunction"><pconfig type="MORE" offsetFraction="0.4"/></cconfig>
    </constraint>
  </attribute>

  <!--
  <attribute id="title" label="Title" helpPrompt="Movie Title"
	     defaultConstraintIndex="0">
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui"><cconfig type="EQUAL"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="INCLUDE"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="EXCLUDE"/></constraint>
  </attribute>

  <attribute id="productionCo" label="productionCo" helpPrompt="productionCo"
	     defaultConstraintIndex="1">
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui"><cconfig type="EQUAL"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="INCLUDE"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="EXCLUDE"/></constraint>
  </attribute>

  <attribute id="summary" label="Summary" helpPrompt="Summary of the Movie"
	     defaultConstraintIndex="0">
    <constraint className="ecatalog.gui.criteriaSelection.SimpleAttributeConstraintGui"><cconfig type="EQUAL"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="INCLUDE"/></constraint>
    <constraint className="ecatalog.gui.criteriaSelection.MultipleValuesConstraintGui"><cconfig type="EXCLUDE"/></constraint>
  </attribute>
  -->
  <attribute id="id" label="id" defaultConstraintIndex="-1"/>


<!--
  <attribute id="imdbId" label="imdbId"/>
  <attribute id="awards" label="awards"/>
  <attribute id="titleYear" label="titleYear"/>
  <attribute id="aka" label="aka"/>
  <attribute id="mpaa" label="mpaa"/>
  <attribute id="releaseDate" label="releaseDate"/>
  <attribute id="aspectRatio" label="aspectRatio"/>
-->
</config>

