DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.standards.asn.plugin
Class Msp2FrameworkPlugin

java.lang.Object
  extended by org.dlese.dpc.schemedit.standards.AbstractCATHelperPlugin
      extended by org.dlese.dpc.schemedit.standards.asn.AsnCATPlugin
          extended by org.dlese.dpc.schemedit.standards.asn.plugin.NcsItemFrameworkPlugin
              extended by org.dlese.dpc.schemedit.standards.asn.plugin.Msp2FrameworkPlugin
All Implemented Interfaces:
CATHelperPlugin

public class Msp2FrameworkPlugin
extends NcsItemFrameworkPlugin

CATService FrameworkPlugin providing information specific to the "msp2" framework.

The msp2 framework has multiple subject fields and a repeating keywords field.

Author:
ostwald

Constructor Summary
Msp2FrameworkPlugin()
           
 
Method Summary
 String getDescriptionPath()
          Gets the descriptionPath of the msp2 framework
 String getGradeRangePath()
          Gets the gradeRangePath of the msp2 framework
 String getKeywordPath()
          Gets the keywordPath of the msp2 framework
 List getOptionalCatUIFields()
          Gets the optionalCatUIFields attribute of the Msp2FrameworkPlugin object
 String[] getRecordSubjects()
          Gets the collected recordSubjects defined under three xpaths.
 String getSubjectPath()
          Gets the subjectPath of the msp2 framework
protected  String normalizeSubjectValue(String value)
          Remove semicolons from subject values.
 
Methods inherited from class org.dlese.dpc.schemedit.standards.asn.plugin.NcsItemFrameworkPlugin
getGradeRangeOptions, gradeRangeHelperInit
 
Methods inherited from class org.dlese.dpc.schemedit.standards.asn.AsnCATPlugin
getCatHelper, getDerivedCATEndGrade, getDerivedCATStartGrade, getGradeLevelOptionValue, getGradeRangeHelper, getSelectedCATEndGrade, getSelectedCATStartGrade, prtlnErr
 
Methods inherited from class org.dlese.dpc.schemedit.standards.AbstractCATHelperPlugin
getRecordDescription, getRecordGradeRanges, getRecordKeywords, getRecordSubjects, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Msp2FrameworkPlugin

public Msp2FrameworkPlugin()
Method Detail

getOptionalCatUIFields

public List getOptionalCatUIFields()
Gets the optionalCatUIFields attribute of the Msp2FrameworkPlugin object

Specified by:
getOptionalCatUIFields in interface CATHelperPlugin
Overrides:
getOptionalCatUIFields in class NcsItemFrameworkPlugin
Returns:
The optionalCatUIFields value

getGradeRangePath

public String getGradeRangePath()
Gets the gradeRangePath of the msp2 framework

Overrides:
getGradeRangePath in class NcsItemFrameworkPlugin
Returns:
The gradeRangePath value

getRecordSubjects

public String[] getRecordSubjects()
Gets the collected recordSubjects defined under three xpaths.

Specified by:
getRecordSubjects in interface CATHelperPlugin
Overrides:
getRecordSubjects in class AbstractCATHelperPlugin
Returns:
The recordSubjects value

normalizeSubjectValue

protected String normalizeSubjectValue(String value)
Remove semicolons from subject values.

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.

Overrides:
normalizeSubjectValue in class AbstractCATHelperPlugin
Parameters:
value - NOT YET DOCUMENTED
Returns:
NOT YET DOCUMENTED

getKeywordPath

public String getKeywordPath()
Gets the keywordPath of the msp2 framework

Overrides:
getKeywordPath in class NcsItemFrameworkPlugin
Returns:
The keywordPath value

getDescriptionPath

public String getDescriptionPath()
Gets the descriptionPath of the msp2 framework

Overrides:
getDescriptionPath in class NcsItemFrameworkPlugin
Returns:
The descriptionPath value

getSubjectPath

public String getSubjectPath()
Gets the subjectPath of the msp2 framework

Overrides:
getSubjectPath in class NcsItemFrameworkPlugin
Returns:
The subjectPath value

DLESE Tools
v1.6.0