fr.paris.lutece.plugins.helpdesk.business
Class Subject

java.lang.Object
  extended by fr.paris.lutece.plugins.helpdesk.business.Subject

public class Subject
extends java.lang.Object

This class represents a Subject object.


Constructor Summary
Subject()
          Creates a new Subject object.
 
Method Summary
 int getIdSubject()
          Returns the identifier of the subject
 java.util.List getQuestions()
          Returns the questions associated with the subject
 java.lang.String getSubject()
          Returns the subject string
 void setIdSubject(int nIdSubject)
          Sets the identifier of the subject to the specified value
 void setQuestions(java.util.List questions)
          Assigns the specified set of questions to the subject
 void setSubject(java.lang.String strSubject)
          Sets the subject string to the specified value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subject

public Subject()
Creates a new Subject object.

Method Detail

getIdSubject

public int getIdSubject()
Returns the identifier of the subject

Returns:
The identifier of the subject

setIdSubject

public void setIdSubject(int nIdSubject)
Sets the identifier of the subject to the specified value

Parameters:
nIdSubject - The new value

getSubject

public java.lang.String getSubject()
Returns the subject string

Returns:
The subject string

setSubject

public void setSubject(java.lang.String strSubject)
Sets the subject string to the specified value

Parameters:
strSubject - The new value

getQuestions

public java.util.List getQuestions()
Returns the questions associated with the subject

Returns:
A List of QuestionAnswer objects.

setQuestions

public void setQuestions(java.util.List questions)
Assigns the specified set of questions to the subject

Parameters:
questions - The new List


Copyright © 2007 Mairie de Paris. All Rights Reserved.