public class AnswerHeader extends KraPersistableBusinessObjectBase
Answers.UPDATE_USER_LENGTH| Constructor and Description |
|---|
AnswerHeader() |
AnswerHeader(ModuleQuestionnaireBean moduleQuestionnaireBean,
Long questionnaireRefIdFk) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllQuestionsAnswered()
This method programatically checks to make sure all the answers have a value in the answer string.
|
Long |
getAnswerHeaderId() |
List<Answer> |
getAnswers()
Gets the answers attribute.
|
boolean |
getCompleted()
Gets the completed attribute.
|
String |
getModuleItemCode()
Gets the moduleItemCode attribute.
|
String |
getModuleItemKey()
Gets the moduleItemKey attribute.
|
String |
getModuleSubItemCode()
Gets the moduleSubItemCode attribute.
|
String |
getModuleSubItemKey()
Gets the moduleSubItemKey attribute.
|
Questionnaire |
getQuestionnaire()
Gets the questionnaire attribute.
|
String |
getQuestionnaireRefIdFk()
Gets the questionnaireId attribute.
|
String |
getShowQuestions() |
String |
getUpdateOption() |
boolean |
isActiveQuestionnaire() |
boolean |
isHasVisibleQuestion() |
boolean |
isNewerVersionPublished() |
boolean |
isNotUpdated() |
void |
setActiveQuestionnaire(boolean activeQuestionnaire) |
void |
setAnswerHeaderId(Long answerHeaderId) |
void |
setAnswers(List<Answer> answers)
Sets the answers attribute value.
|
void |
setCompleted(boolean completed)
Sets the completed attribute value.
|
void |
setHasVisibleQuestion(boolean hasVisibleQuestion) |
void |
setModuleItemCode(String moduleItemCode)
Sets the moduleItemCode attribute value.
|
void |
setModuleItemKey(String moduleItemKey)
Sets the moduleItemKey attribute value.
|
void |
setModuleSubItemCode(String moduleSubItemCode)
Sets the moduleSubItemCode attribute value.
|
void |
setModuleSubItemKey(String moduleSubItemKey)
Sets the moduleSubItemKey attribute value.
|
void |
setNewerVersionPublished(boolean newerVersionPublished) |
void |
setNewModuleQuestionnaireBeanReferenceData(ModuleQuestionnaireBean newModuleQuestionnaireBean) |
void |
setNotUpdated(boolean notUpdated) |
void |
setQuestionnaire(Questionnaire questionnaire)
Sets the questionnaire attribute value.
|
void |
setQuestionnaireRefIdFk(String questionnaireRefIdFk)
Sets the questionnaireId attribute value.
|
void |
setShowQuestions(String showQuestions) |
void |
setUpdateOption(String updateOption) |
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 AnswerHeader()
public AnswerHeader(ModuleQuestionnaireBean moduleQuestionnaireBean, Long questionnaireRefIdFk)
public void setNewModuleQuestionnaireBeanReferenceData(ModuleQuestionnaireBean newModuleQuestionnaireBean)
public String getModuleItemCode()
public void setModuleItemCode(String moduleItemCode)
moduleItemCode - The moduleItemCode to set.public String getModuleItemKey()
public void setModuleItemKey(String moduleItemKey)
moduleItemKey - The moduleItemKey to set.public String getModuleSubItemCode()
public void setModuleSubItemCode(String moduleSubItemCode)
moduleSubItemCode - The moduleSubItemCode to set.public String getModuleSubItemKey()
public void setModuleSubItemKey(String moduleSubItemKey)
moduleSubItemKey - The moduleSubItemKey to set.public String getQuestionnaireRefIdFk()
public void setQuestionnaireRefIdFk(String questionnaireRefIdFk)
questionnaireRefIdFk - The questionnaireRefIdFk to set.public Questionnaire getQuestionnaire()
public void setQuestionnaire(Questionnaire questionnaire)
questionnaire - The questionnaire to set.public boolean getCompleted()
public void setCompleted(boolean completed)
completed - The completed to set.public List<Answer> getAnswers()
public void setAnswers(List<Answer> answers)
answers - The answers to set.public Long getAnswerHeaderId()
public void setAnswerHeaderId(Long answerHeaderId)
public boolean isNewerVersionPublished()
public void setNewerVersionPublished(boolean newerVersionPublished)
public String getUpdateOption()
public void setUpdateOption(String updateOption)
public String getShowQuestions()
public void setShowQuestions(String showQuestions)
public boolean isNotUpdated()
public void setNotUpdated(boolean notUpdated)
public boolean isActiveQuestionnaire()
public void setActiveQuestionnaire(boolean activeQuestionnaire)
public boolean getAllQuestionsAnswered()
public boolean isHasVisibleQuestion()
public void setHasVisibleQuestion(boolean hasVisibleQuestion)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.