fr.paris.lutece.plugins.workflow.modules.evaluation.business.synthesis
Class SynthesisCriteria

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.evaluation.business.synthesis.SynthesisCriteria

public class SynthesisCriteria
extends java.lang.Object

Criteria like SynthesisCriteria.Type.CHECKBOX, SynthesisCriteria.Type.RADIOBUTTON, SynthesisCriteria.Type.TEXT, SynthesisCriteria.Type.DROPDOWNLIST.

See Also:
SynthesisCriteria.Pair, SynthesisCriteria.Type, SynthesisCriteriaValue

Nested Class Summary
static class SynthesisCriteria.Pair
          Pair value / title
static class SynthesisCriteria.Type
          Type of the criteria.
 
Constructor Summary
SynthesisCriteria()
           
 
Method Summary
 java.util.List<SynthesisCriteria.Pair> getAvailableValues()
          Avaiblable Values (for checkbox etc.)
 int getIdCriteria()
          IdCriteria
 int getIdTask()
          Task id
 int getPosition()
          The position FIXME : never used (copied form TaskEvaluationCriteria
 java.lang.String getTitle()
          Title
 SynthesisCriteria.Type getType()
          Type
 boolean isMandatory()
          true if criteria is mandatory, false otherwise.
 void setAvailableValues(java.util.List<SynthesisCriteria.Pair> availableValues)
          Sets the available values (for checkbox etc.)
 void setIdCriteria(int nIdCriteria)
          IdCriteria
 void setIdTask(int nIdTask)
          Sets task id
 void setMandatory(boolean bMandatory)
          Sets if criteria is mandatory
 void setPosition(int nPosition)
          Sets the position
 void setTitle(java.lang.String strTitle)
          Sets the title
 void setType(SynthesisCriteria.Type type)
          Sets the type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynthesisCriteria

public SynthesisCriteria()
Method Detail

getIdCriteria

public int getIdCriteria()
IdCriteria

Returns:
IdCriteria

setIdCriteria

public void setIdCriteria(int nIdCriteria)
IdCriteria

Parameters:
nIdCriteria - IdCriteria

getAvailableValues

public java.util.List<SynthesisCriteria.Pair> getAvailableValues()
Avaiblable Values (for checkbox etc.)

Returns:
values

setAvailableValues

public void setAvailableValues(java.util.List<SynthesisCriteria.Pair> availableValues)
Sets the available values (for checkbox etc.)

Parameters:
availableValues - values

getTitle

public java.lang.String getTitle()
Title

Returns:
title

setTitle

public void setTitle(java.lang.String strTitle)
Sets the title

Parameters:
strTitle - title

isMandatory

public boolean isMandatory()
true if criteria is mandatory, false otherwise.

Returns:
true if criteria is mandatory, false otherwise.

setMandatory

public void setMandatory(boolean bMandatory)
Sets if criteria is mandatory

Parameters:
bMandatory - true if criteria is mandatory, false otherwise.

getPosition

public int getPosition()
The position FIXME : never used (copied form TaskEvaluationCriteria

Returns:
the position

setPosition

public void setPosition(int nPosition)
Sets the position

Parameters:
nPosition - the position

getIdTask

public int getIdTask()
Task id

Returns:
task id

setIdTask

public void setIdTask(int nIdTask)
Sets task id

Parameters:
nIdTask - task id

getType

public SynthesisCriteria.Type getType()
Type

Returns:
the type

setType

public void setType(SynthesisCriteria.Type type)
Sets the type

Parameters:
type - the type


Copyright © 2012 Mairie de Paris. All Rights Reserved.