fr.paris.lutece.plugins.workflow.business.prerequisite
Class PrerequisiteDTO

java.lang.Object
  extended by fr.paris.lutece.plugins.workflowcore.business.prerequisite.Prerequisite
      extended by fr.paris.lutece.plugins.workflow.business.prerequisite.PrerequisiteDTO

public class PrerequisiteDTO
extends fr.paris.lutece.plugins.workflowcore.business.prerequisite.Prerequisite

Business class of prerequisites


Constructor Summary
PrerequisiteDTO(fr.paris.lutece.plugins.workflowcore.business.prerequisite.Prerequisite prerequisite, String strTitle, boolean bHasConfiguration)
          Creates a new prerequisite DAO with parameters initialized
 
Method Summary
 boolean getHasConfiguration()
          Check if the prerequisite type associated with the underlying prerequisite has a configuration
 String getTitle()
          Get the title of the type of the underlying prerequisite
 void setHasConfiguration(boolean bHasConfiguration)
          Set a boolean value that indicates that the type associated with the underlying prerequisite has a configuration or not
 void setTitle(String strTitle)
          Set the title of the type of the underlying prerequisite
 
Methods inherited from class fr.paris.lutece.plugins.workflowcore.business.prerequisite.Prerequisite
getIdAction, getIdPrerequisite, getPrerequisiteType, setIdAction, setIdPrerequisite, setPrerequisiteType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrerequisiteDTO

public PrerequisiteDTO(fr.paris.lutece.plugins.workflowcore.business.prerequisite.Prerequisite prerequisite,
                       String strTitle,
                       boolean bHasConfiguration)
Creates a new prerequisite DAO with parameters initialized

Parameters:
prerequisite - the prerequisite to copy
strTitle - The title of the type of the underlying prerequisite
bHasConfiguration - True if the prerequisite has configuration, false otherwise
Method Detail

getTitle

public String getTitle()
Get the title of the type of the underlying prerequisite

Returns:
The title of the type of the underlying prerequisite

setTitle

public void setTitle(String strTitle)
Set the title of the type of the underlying prerequisite

Parameters:
strTitle - The title of the type of the underlying prerequisite

getHasConfiguration

public boolean getHasConfiguration()
Check if the prerequisite type associated with the underlying prerequisite has a configuration

Returns:
True if it has a configuration, false otherwise

setHasConfiguration

public void setHasConfiguration(boolean bHasConfiguration)
Set a boolean value that indicates that the type associated with the underlying prerequisite has a configuration or not

Parameters:
bHasConfiguration - True if it has a configuration, false otherwise


Copyright © 2014 Mairie de Paris. All Rights Reserved.