public class Msp2FrameworkPlugin extends NcsItemFrameworkPlugin
The msp2 framework has multiple subject fields and a repeating keywords field.
Constructor and Description |
---|
Msp2FrameworkPlugin() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescriptionPath()
Gets the descriptionPath of the msp2 framework
|
java.lang.String |
getGradeRangePath()
Gets the gradeRangePath of the msp2 framework
|
java.lang.String |
getKeywordPath()
Gets the keywordPath of the msp2 framework
|
java.util.List |
getOptionalCatUIFields()
Gets the optionalCatUIFields attribute of the Msp2FrameworkPlugin object
|
java.lang.String[] |
getRecordSubjects()
Gets the collected recordSubjects defined under three xpaths.
|
java.lang.String |
getSubjectPath()
Gets the subjectPath of the msp2 framework
|
protected java.lang.String |
normalizeSubjectValue(java.lang.String value)
Remove semicolons from subject values.
|
getGradeRangeOptions, gradeRangeHelperInit
getCatHelper, getDerivedCATEndGrade, getDerivedCATStartGrade, getGradeLevelOptionValue, getGradeRangeHelper, getSelectedCATEndGrade, getSelectedCATStartGrade, prtlnErr
getRecordDescription, getRecordGradeRanges, getRecordKeywords, getRecordSubjects, init
public java.util.List getOptionalCatUIFields()
getOptionalCatUIFields
in interface CATHelperPlugin
getOptionalCatUIFields
in class NcsItemFrameworkPlugin
public java.lang.String getGradeRangePath()
getGradeRangePath
in class NcsItemFrameworkPlugin
public java.lang.String[] getRecordSubjects()
getRecordSubjects
in interface CATHelperPlugin
getRecordSubjects
in class AbstractCATHelperPlugin
protected java.lang.String normalizeSubjectValue(java.lang.String value)
NOTE: we may want to tak only the leaf, since the upper levels of the hierarchical msp2 subject values can be noise that drowns out the signal provided by the leaf.
normalizeSubjectValue
in class AbstractCATHelperPlugin
value
- NOT YET DOCUMENTEDpublic java.lang.String getKeywordPath()
getKeywordPath
in class NcsItemFrameworkPlugin
public java.lang.String getDescriptionPath()
getDescriptionPath
in class NcsItemFrameworkPlugin
public java.lang.String getSubjectPath()
getSubjectPath
in class NcsItemFrameworkPlugin