|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.helpdesk.business.QuestionType
public class QuestionType
This class represents a type of question.
Field Summary | |
---|---|
static java.lang.String |
RESOURCE_TYPE
|
Constructor Summary | |
---|---|
QuestionType()
Creates a new QuestionType object. |
Method Summary | |
---|---|
int |
getIdQuestionType()
Returns the identifier of the object |
java.util.List |
getQuestions()
Returns the list of questions of this type |
java.lang.String |
getQuestionType()
Returns the question type |
java.lang.String |
getResourceId()
Returns the resource Id of the current object |
java.lang.String |
getResourceTypeCode()
Returns the Resource Type Code that identify the resource type |
void |
setIdQuestionType(int nIdQuestionType)
Sets the identifier of the object to the specified value |
void |
setQuestions(java.util.List questions)
Associates a list of questions with the question type |
void |
setQuestionType(java.lang.String strQuestionType)
Sets the question type to the specified value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RESOURCE_TYPE
Constructor Detail |
---|
public QuestionType()
Method Detail |
---|
public int getIdQuestionType()
public void setIdQuestionType(int nIdQuestionType)
nIdQuestionType
- The new valuepublic java.lang.String getQuestionType()
public void setQuestionType(java.lang.String strQuestionType)
strQuestionType
- The new valuepublic java.util.List getQuestions()
public void setQuestions(java.util.List questions)
questions
- The new list of questionspublic java.lang.String getResourceTypeCode()
getResourceTypeCode
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public java.lang.String getResourceId()
getResourceId
in interface fr.paris.lutece.portal.service.rbac.RBACResource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |