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

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

public class VisitorQuestion
extends java.lang.Object

This class represents a visitor's question.


Constructor Summary
VisitorQuestion()
          Creates a new VisitorQuestion object.
 
Method Summary
 java.lang.String getAnswer()
          Returns the answer
 java.sql.Date getDate()
          Returns the date of the visitor question
 java.lang.String getEmail()
          Returns the email address of the visitor
 java.lang.String getFirstname()
          Returns the first name of the visitor
 int getIdQuestionTopic()
          Returns the question topic
 int getIdQuestionType()
          Returns the question type
 int getIdUser()
          Returns the identifier of the HelpdeskUser.
 int getIdVisitorQuestion()
          Returns the identifier of the object
 java.lang.String getLastname()
          Returns the last name of the visitor
 java.lang.String getQuestion()
          Returns the question
 void setAnswer(java.lang.String strAnswer)
          Sets the answer to the specified value
 void setDate(java.sql.Date dateVQ)
          Sets the date of the visitor question
 void setEmail(java.lang.String strEmail)
          Sets the email address of the visitor to the specified value
 void setFirstname(java.lang.String strFirstname)
          Sets the first name of the visitor to the specified value
 void setIdQuestionTopic(int nIdQuestionTopic)
          Sets the question topic to the specified value
 void setIdQuestionType(int nIdQuestionType)
          Sets the question type to the specified value
 void setIdUser(int nIdUser)
          Sets the identifier of the HelpdeskUser to the specified int.
 void setIdVisitorQuestion(int nIdVisitorQuestion)
          Sets the identifier of the object to the specified value
 void setLastname(java.lang.String strLastname)
          Sets the last name of the visitor to the specified value
 void setQuestion(java.lang.String strQuestion)
          Sets the question to the specified value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisitorQuestion

public VisitorQuestion()
Creates a new VisitorQuestion object.

Method Detail

getIdVisitorQuestion

public int getIdVisitorQuestion()
Returns the identifier of the object

Returns:
The identifier

setIdVisitorQuestion

public void setIdVisitorQuestion(int nIdVisitorQuestion)
Sets the identifier of the object to the specified value

Parameters:
nIdVisitorQuestion - The new value

getLastname

public java.lang.String getLastname()
Returns the last name of the visitor

Returns:
The last name

setLastname

public void setLastname(java.lang.String strLastname)
Sets the last name of the visitor to the specified value

Parameters:
strLastname - The new value

getFirstname

public java.lang.String getFirstname()
Returns the first name of the visitor

Returns:
The first name

setFirstname

public void setFirstname(java.lang.String strFirstname)
Sets the first name of the visitor to the specified value

Parameters:
strFirstname - The new value

getEmail

public java.lang.String getEmail()
Returns the email address of the visitor

Returns:
The email address

setEmail

public void setEmail(java.lang.String strEmail)
Sets the email address of the visitor to the specified value

Parameters:
strEmail - The new value

getQuestion

public java.lang.String getQuestion()
Returns the question

Returns:
A string literal containing the question

setQuestion

public void setQuestion(java.lang.String strQuestion)
Sets the question to the specified value

Parameters:
strQuestion - The new value

getAnswer

public java.lang.String getAnswer()
Returns the answer

Returns:
A string literal containing the answer

setAnswer

public void setAnswer(java.lang.String strAnswer)
Sets the answer to the specified value

Parameters:
strAnswer - The new value

getIdQuestionType

public int getIdQuestionType()
Returns the question type

Returns:
The question type

setIdQuestionType

public void setIdQuestionType(int nIdQuestionType)
Sets the question type to the specified value

Parameters:
nIdQuestionType - The new value

setDate

public void setDate(java.sql.Date dateVQ)
Sets the date of the visitor question

Parameters:
dateVQ - The date

getDate

public java.sql.Date getDate()
Returns the date of the visitor question

Returns:
The date

getIdUser

public int getIdUser()
Returns the identifier of the HelpdeskUser.

Returns:
the HelpdeskUser identifier

setIdUser

public void setIdUser(int nIdUser)
Sets the identifier of the HelpdeskUser to the specified int.

Parameters:
nIdUser - the new identifier

getIdQuestionTopic

public int getIdQuestionTopic()
Returns the question topic

Returns:
The question topic

setIdQuestionTopic

public void setIdQuestionTopic(int nIdQuestionTopic)
Sets the question topic to the specified value

Parameters:
nIdQuestionTopic - The new value


Copyright © 2007 Mairie de Paris. All Rights Reserved.