Class Question

java.lang.Object
fr.paris.lutece.plugins.forms.business.Question
All Implemented Interfaces:
Serializable, Cloneable

public class Question extends Object implements Serializable, Cloneable
This is the business class for the object Question
See Also:
  • Constructor Details

    • Question

      public Question()
      Default constructor
    • Question

      public Question(Question source)
      Copy constructor Leaves out dynamic data
      Parameters:
      source - Question to copy
  • Method Details

    • getId

      public int getId()
      Returns the Id
      Returns:
      The Id
    • setId

      public void setId(int nId)
      Sets the Id
      Parameters:
      nId - The Id
    • isVisible

      public boolean isVisible()
      Returns:
      the isVisible
    • setIsVisible

      public void setIsVisible(boolean isVisible)
      Parameters:
      isVisible - the isVisible to set
    • getTitle

      public String getTitle()
      Returns the Title
      Returns:
      The Title
    • setTitle

      public void setTitle(String strTitle)
      Sets the Title
      Parameters:
      strTitle - The Title
    • getCode

      public String getCode()
      Get the code of the question
      Returns:
      the code of the question
    • setCode

      public void setCode(String strCode)
      Set the code of the question
      Parameters:
      strCode - the code of the question
    • getDescription

      public String getDescription()
      Returns the Description
      Returns:
      The Description
    • setDescription

      public void setDescription(String strDescription)
      Sets the Description
      Parameters:
      strDescription - The Description
    • getIdEntry

      public int getIdEntry()
      Returns the IdEntry
      Returns:
      The IdEntry
    • setIdEntry

      public void setIdEntry(int nIdEntry)
      Sets the IdEntry
      Parameters:
      nIdEntry - The IdEntry
    • getEntry

      public fr.paris.lutece.plugins.genericattributes.business.Entry getEntry()
      Returns the Entry
      Returns:
      The Entry
    • setEntry

      public void setEntry(fr.paris.lutece.plugins.genericattributes.business.Entry entry)
      Sets the Entry
      Parameters:
      entry - The Entry
    • getIdStep

      public int getIdStep()
      Returns:
      the _nIdStep
    • setIdStep

      public void setIdStep(int nIdStep)
      Parameters:
      nIdStep - the nIdStep to set
    • getStep

      public Step getStep()
      Returns:
      the _step
    • setStep

      public void setStep(Step step)
      Parameters:
      step - the step to set
    • getIterationNumber

      public int getIterationNumber()
      Returns the iteration number
      Returns:
      The iteration number
    • setIterationNumber

      public void setIterationNumber(int nIterationNumber)
      Sets the iteration number
      Parameters:
      nIterationNumber - The iteration number
    • clone

      public Question clone() throws CloneNotSupportedException
      Throws:
      CloneNotSupportedException
    • isResponsesIndexed

      public boolean isResponsesIndexed()
      Return the responses index boolean
      Returns:
      true if the responses of this question are indexed, false otherwise
    • isResponseExportable

      public boolean isResponseExportable()
      Return the responses exportable boolean
      Returns:
      true if the responses of this question are exportable, false otherwise
    • isPublished

      public boolean isPublished()
      Return the responses published boolean
      Returns:
      true if the responses of this question are published, false otherwise
    • isVisibleMultiviewGlobal

      public boolean isVisibleMultiviewGlobal()
      Get the is visible Multiview Global boolean
      Returns:
      true if the question need to be see globally, false otherwise
    • setVisibleMultiviewGlobal

      public void setVisibleMultiviewGlobal(boolean bIsVisibleMultiviewGlobal)
      Set the is vibile Multiview Global boolean
      Parameters:
      bIsVisibleMultiviewGlobal - the boolean
    • getColumnTitle

      public String getColumnTitle()
      Get the column title boolean
      Returns:
      the column title
    • setColumnTitle

      public void setColumnTitle(String strColumnTitle)
      Set the column title
      Parameters:
      strColumnTitle -
    • isVisibleMultiviewFormSelected

      public boolean isVisibleMultiviewFormSelected()
      Get visible multiview form selected boolean
      Returns:
      true if the column has to be see only if the form is selected
    • setVisibleMultiviewFormSelected

      public void setVisibleMultiviewFormSelected(boolean bIsVisibleMultiviewFormSelected)
      Set the visible multiview form selected boolean
      Parameters:
      bIsVisibleMultiviewFormSelected -
    • isFiltrableMultiviewGlobal

      public boolean isFiltrableMultiviewGlobal()
      Return true if the response list page is filtrable globally by this question, false otherwise
      Returns:
      true if the response list page is filtrable by this question, false otherwise
    • setFiltrableMultiviewGlobal

      public void setFiltrableMultiviewGlobal(boolean bIsFiltrableMultiviewGlobal)
      Set the multiview filtrable boolean
      Parameters:
      bIsFiltrableMultiviewGlobal - the multiview global filtrable boolean
    • isFiltrableMultiviewFormSelected

      public boolean isFiltrableMultiviewFormSelected()
      Return true if the response list page is filtrable when form is selected by this question, false otherwise
      Returns:
      true if the response list page is filtrable by this question, false otherwise
    • setFiltrableMultiviewFormSelected

      public void setFiltrableMultiviewFormSelected(boolean bIsFiltrableMultiviewFormSelected)
      Set the multiview filtrable boolean
      Parameters:
      bIsFiltrableMultiviewFormSelected - the multiview FormSelected filtrable boolean
    • getMultiviewColumnOrder

      public int getMultiviewColumnOrder()
      Returns:
      the nMultiviewColumnOrder
    • setMultiviewColumnOrder

      public void setMultiviewColumnOrder(int nMultiviewColumnOrder)
      Parameters:
      nMultiviewColumnOrder - the nMultiviewColumnOrder to set
    • getExportDisplayOrder

      public int getExportDisplayOrder()
    • setExportDisplayOrder

      public void setExportDisplayOrder(int nExportDisplayOrder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object