public class ProgramValidationResult
extends java.lang.Object
IQuestionnaireService.validateProgram(Id, LaunchProgramOptions)
Constructor and Description |
---|
ProgramValidationResult(Id templateId,
Id assetContentTypeId,
int totalAssets,
int totalAssessments,
java.lang.String messageKey,
java.util.List<java.lang.String> messageParams)
The constructor of ProgramValidationResult.
|
ProgramValidationResult(Id templateId,
Id assetContentTypeId,
int totalAssets,
int totalAssessments,
java.lang.String messageKey,
java.util.List<java.lang.String> messageParams,
Id copyFromTemplateId,
boolean allQuestionsMatched,
int totalMatchingQuestions)
The constructor of ProgramValidationResult.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAllQuestionsMatched()
If all questions in the program template are matched.
|
Id |
getAssetContentTypeId() |
Id |
getCopyFromTemplateId()
The Id of the copy from Questionnaire Template object used by the Program.
|
java.util.List<java.lang.String> |
getParams()
The parameters of the warning message.
|
Id |
getTemplateId()
The Id of the Questionnaire Template object used by the Program.
|
int |
getTotalAssessments()
The number of assessments associated to the program.
|
int |
getTotalAssets()
The number of assets associated to the Program.
|
int |
getTotalMatchingQuestions()
The number of matching questions between the program template and the copy from program template.
|
java.lang.String |
getWarningMessage()
The application string key of the warning message.
|
public ProgramValidationResult(Id templateId, Id assetContentTypeId, int totalAssets, int totalAssessments, java.lang.String messageKey, java.util.List<java.lang.String> messageParams)
IQuestionnaireService.validateProgram(Id, LaunchProgramOptions)
.
It is not intended for an API user to construct this object.public ProgramValidationResult(Id templateId, Id assetContentTypeId, int totalAssets, int totalAssessments, java.lang.String messageKey, java.util.List<java.lang.String> messageParams, Id copyFromTemplateId, boolean allQuestionsMatched, int totalMatchingQuestions)
IQuestionnaireService.validateProgram(Id, LaunchProgramOptions)
.
It is not intended for an API user to construct this object.public Id getTemplateId()
public Id getAssetContentTypeId()
public int getTotalAssets()
public int getTotalAssessments()
public java.lang.String getWarningMessage()
public java.util.List<java.lang.String> getParams()
public Id getCopyFromTemplateId()
public boolean getAllQuestionsMatched()
public int getTotalMatchingQuestions()
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2022. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.