Class AdnStandard
java.lang.Object
org.dlese.dpc.schemedit.standards.adn.AdnStandard
Represents an controlled vocabulary item from the ADN educational metadata standard. ADN represents
standards as strings delimited by semi-colons, which serve to break the text up into "levels".
This class provides access to the string representation for each level.
- Author:
- ostwald
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAdnStandard(String text) Constructor for the AdnStandard object given a ResultDoc instance -
Method Summary
Modifier and TypeMethodDescriptionGets the comparator attribute of the AdnStandard objectgetLeaf()Gets the last segment of the text attribute.intGets the levels attribute of the AdnStandard objectGets the matchKey attribute of the AdnStandard objectgetSplit(int level) Gets the specified segment of the colon-delimited text field.getText()Gets the text attribute of the AdnStandard object, that is the entire string used to define this vocab item.protected voidDescription of the MethodtoString()Description of the Method
-
Constructor Details
-
AdnStandard
Constructor for the AdnStandard object given a ResultDoc instance- Parameters:
text- NOT YET DOCUMENTED
-
-
Method Details
-
getGradeRange
-
getMatchKey
Gets the matchKey attribute of the AdnStandard object- Returns:
- The matchKey value
-
getText
Gets the text attribute of the AdnStandard object, that is the entire string used to define this vocab item. The text attribute is colon-delimited to express hierarchical relations.- Returns:
- The text value
-
getSplit
Gets the specified segment of the colon-delimited text field.- Parameters:
level- NOT YET DOCUMENTED- Returns:
- The split value
-
getLevels
public int getLevels()Gets the levels attribute of the AdnStandard object- Returns:
- The levels value
-
getLeaf
Gets the last segment of the text attribute.- Returns:
- The leaf value
-
toString
Description of the Method -
getComparator
Gets the comparator attribute of the AdnStandard object- Returns:
- The comparator value
-
prtln
Description of the Method- Parameters:
s- Description of the Parameter
-