public class Answer extends KraPersistableBusinessObjectBase
Question.UPDATE_USER_LENGTH| Constructor and Description |
|---|
Answer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnswer()
Gets the answer attribute.
|
AnswerHeader |
getAnswerHeader()
Gets the questionnaireAnsHeader attribute.
|
Long |
getAnswerHeaderIdFk() |
Integer |
getAnswerNumber()
Gets the answerNumber attribute.
|
Long |
getId()
Gets the id attribute.
|
String |
getMatchedChild()
This method is to get the flag whether to display the child question or not based on parent answer
revised : this may also based rule evaluation, and eventually root node may be applied for rule evaluation.
|
List<Answer> |
getParentAnswer() |
Question |
getQuestion()
Gets the question attribute.
|
QuestionnaireQuestion |
getQuestionnaireQuestion() |
Long |
getQuestionnaireQuestionsIdFk() |
Integer |
getQuestionNumber()
Gets the questionNumber attribute.
|
Long |
getQuestionRefIdFk()
Gets the questionId attribute.
|
boolean |
isRuleMatched() |
void |
setAnswer(String answer)
Sets the answer attribute value.
|
void |
setAnswerHeader(AnswerHeader answerHeader)
Sets the answerHeader attribute value.
|
void |
setAnswerHeaderIdFk(Long answerHeaderIdFk) |
void |
setAnswerNumber(Integer answerNumber)
Sets the answerNumber attribute value.
|
void |
setId(Long id)
Sets the id attribute value.
|
void |
setMatchedChild(String matchedChild) |
void |
setParentAnswer(List<Answer> parentAnswer) |
void |
setQuestion(Question question)
Sets the question attribute value.
|
void |
setQuestionnaireQuestion(QuestionnaireQuestion questionnaireQuestion) |
void |
setQuestionnaireQuestionsIdFk(Long questionnaireQuestionsIdFk) |
void |
setQuestionNumber(Integer questionNumber)
Sets the questionNumber attribute value.
|
void |
setQuestionRefIdFk(Long questionRefIdFk)
Sets the questionId attribute value.
|
void |
setRuleMatched(boolean ruleMatched) |
getAuthorPersonName, getKcPersonService, getUpdateTimestamp, getUpdateUser, isUpdateUserSet, postPersist, prePersist, preUpdate, setUpdateTimestamp, setUpdateUser, setUpdateUserSetafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postRemove, postUpdate, preRemove, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberpublic Long getId()
public void setId(Long id)
id - The questionnaireAnswersId to set.public Long getQuestionRefIdFk()
public void setQuestionRefIdFk(Long questionRefIdFk)
questionRefIdFk - The questionId to set.public Integer getQuestionNumber()
public void setQuestionNumber(Integer questionNumber)
questionNumber - The questionNumber to set.public Integer getAnswerNumber()
public void setAnswerNumber(Integer answerNumber)
answerNumber - The answerNumber to set.public String getAnswer()
public void setAnswer(String answer)
answer - The answer to set.public AnswerHeader getAnswerHeader()
public void setAnswerHeader(AnswerHeader answerHeader)
answerHeader - The answerHeader to set.public Question getQuestion()
public void setQuestion(Question question)
question - The question to set.public Long getAnswerHeaderIdFk()
public void setAnswerHeaderIdFk(Long answerHeaderIdFk)
public Long getQuestionnaireQuestionsIdFk()
public void setQuestionnaireQuestionsIdFk(Long questionnaireQuestionsIdFk)
public QuestionnaireQuestion getQuestionnaireQuestion()
public void setQuestionnaireQuestion(QuestionnaireQuestion questionnaireQuestion)
public String getMatchedChild()
public void setMatchedChild(String matchedChild)
public boolean isRuleMatched()
public void setRuleMatched(boolean ruleMatched)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.