Package org.dlese.dpc.vocab
Class VocabNodeOPML
java.lang.Object
org.dlese.dpc.vocab.VocabNodeOPML
- All Implemented Interfaces:
VocabNode
MetadataVocabOPML implementation of a controlled vocabulary tree node
-
Constructor Summary
ConstructorsConstructorDescriptionVocabNodeOPML(String metaFormat) Constructor for the VocabNodeOPML objectVocabNodeOPML(String metaFormat, org.dlese.dpc.gui.OPMLTree.TreeNode node) Constructor for the VocabNodeOPML objectVocabNodeOPML(String metaFormat, org.dlese.dpc.gui.OPMLTree.TreeNode node, VocabList parent) Constructor for the VocabNodeOPML objectVocabNodeOPML(org.dlese.dpc.gui.OPMLTree.TreeNode node) Constructor for the VocabNodeOPML objectVocabNodeOPML(org.dlese.dpc.gui.OPMLTree.TreeNode node, VocabList parent) Constructor for the VocabNodeOPML object -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the collapsible attribute of the VocabNode objectGets the definition attribute of the VocabNode objectgetDescription(PageContext page) Gets the description attribute of the VocabNodeOPML objectbooleanGets the divider attribute of the VocabNode objectGets the fieldId attribute of the VocabNode objectintGets the groupLevel attribute of the VocabNode objectbooleanGets the hasSubList attribute of the VocabNode objectgetId()Gets the id attribute of the VocabNode objectbooleanGets the isLastInSubList attribute of the VocabNode objectgetLabel()Gets the label attribute of the VocabNode objectGets the labelAbbrev attribute of the VocabNode objectgetList()Gets the list attribute of the VocabNode objectgetName()Gets the name attribute of the VocabNode objectbooleanGets the noDisplay attribute of the VocabNode objectbooleanGets the noDisplayOriginal attribute of the VocabNode objectStruts equivalent of getList()--JPSs work by iterating over ArrayLists (Collections)booleangetWrap()Gets the wrap attribute of the VocabNode objectvoidsetCollapsible(boolean collapsible) Sets the collapsible attribute of the VocabNode objectvoidsetDefinition(String definition) Sets the definition attribute of the VocabNode objectvoidsetDescription(String description) Sets the description attribute of the VocabNode objectvoidsetDivider(boolean divider) Sets the divider attribute of the VocabNode objectvoidsetFieldId(String fieldId) Sets the fieldId attribute of the VocabNode objectvoidsetGroupLevel(int groupLevel) Sets the groupLevel attribute of the VocabNode objectvoidSets the id attribute of the VocabNode objectvoidsetIsLastInSubList(boolean isLastInSubList) Sets the isLastInSubList attribute of the VocabNode objectvoidSets the label attribute of the VocabNode objectvoidsetLabelAbbrev(String labelAbbrev) Sets the labelAbbrev attribute of the VocabNode objectvoidSets the list attribute of the VocabNode objectvoidsetMetaFormat(String metaFormat) Sets the metaFormat attribute of the VocabNodeOPML objectvoidSets the name attribute of the VocabNode objectvoidsetNoDisplay(boolean noDisplay) Sets the noDisplay attribute of the VocabNode objectvoidsetNoDisplayOriginal(boolean noDisplayOriginal) Sets the noDisplay attribute of the vocab node (for UI suppression)voidSets the src attribute of the VocabNode objectvoidsetWrap(boolean wrap) Sets the wrap attribute of the VocabNode object
-
Constructor Details
-
VocabNodeOPML
public VocabNodeOPML(org.dlese.dpc.gui.OPMLTree.TreeNode node) Constructor for the VocabNodeOPML object- Parameters:
node-
-
VocabNodeOPML
Constructor for the VocabNodeOPML object- Parameters:
metaFormat-node-
-
VocabNodeOPML
Constructor for the VocabNodeOPML object- Parameters:
node-parent-
-
VocabNodeOPML
Constructor for the VocabNodeOPML object- Parameters:
metaFormat-node-parent-
-
VocabNodeOPML
Constructor for the VocabNodeOPML object- Parameters:
metaFormat-
-
-
Method Details
-
setMetaFormat
Sets the metaFormat attribute of the VocabNodeOPML object- Specified by:
setMetaFormatin interfaceVocabNode- Parameters:
metaFormat- The new metaFormat value
-
setGroupLevel
public void setGroupLevel(int groupLevel) Sets the groupLevel attribute of the VocabNode object- Specified by:
setGroupLevelin interfaceVocabNode- Parameters:
groupLevel- The new groupLevel value
-
getGroupLevel
public int getGroupLevel()Gets the groupLevel attribute of the VocabNode object- Specified by:
getGroupLevelin interfaceVocabNode- Returns:
- The groupLevel value
-
setFieldId
Sets the fieldId attribute of the VocabNode object- Specified by:
setFieldIdin interfaceVocabNode- Parameters:
fieldId- The new fieldId value
-
getFieldId
Gets the fieldId attribute of the VocabNode object- Specified by:
getFieldIdin interfaceVocabNode- Returns:
- The fieldId value
-
getName
Gets the name attribute of the VocabNode object -
setName
Sets the name attribute of the VocabNode object -
getId
Gets the id attribute of the VocabNode object -
setId
Sets the id attribute of the VocabNode object -
getLabel
Gets the label attribute of the VocabNode object -
setLabel
Sets the label attribute of the VocabNode object -
getLabelAbbrev
Gets the labelAbbrev attribute of the VocabNode object- Specified by:
getLabelAbbrevin interfaceVocabNode- Returns:
- The labelAbbrev value
-
setLabelAbbrev
Sets the labelAbbrev attribute of the VocabNode object- Specified by:
setLabelAbbrevin interfaceVocabNode- Parameters:
labelAbbrev- The new labelAbbrev value
-
getDefinition
Gets the definition attribute of the VocabNode object- Specified by:
getDefinitionin interfaceVocabNode- Returns:
- The definition value
-
setDefinition
Sets the definition attribute of the VocabNode object- Specified by:
setDefinitionin interfaceVocabNode- Parameters:
definition- The new definition value
-
setSrc
Sets the src attribute of the VocabNode object -
getDescription
Gets the description attribute of the VocabNodeOPML object- Specified by:
getDescriptionin interfaceVocabNode- Parameters:
page-- Returns:
- The description value
-
setDescription
Sets the description attribute of the VocabNode object- Specified by:
setDescriptionin interfaceVocabNode- Parameters:
description- The new description value
-
getList
Gets the list attribute of the VocabNode object -
setList
Sets the list attribute of the VocabNode object -
getSubList
Struts equivalent of getList()--JPSs work by iterating over ArrayLists (Collections)- Specified by:
getSubListin interfaceVocabNode- Returns:
- The list value
-
getHasSubList
public boolean getHasSubList()Gets the hasSubList attribute of the VocabNode object- Specified by:
getHasSubListin interfaceVocabNode- Returns:
- The hasSubList value
-
getNoDisplay
public boolean getNoDisplay()Gets the noDisplay attribute of the VocabNode object- Specified by:
getNoDisplayin interfaceVocabNode- Returns:
- The noDisplay value
-
setNoDisplay
public void setNoDisplay(boolean noDisplay) Sets the noDisplay attribute of the VocabNode object- Specified by:
setNoDisplayin interfaceVocabNode- Parameters:
noDisplay- The new noDisplay value
-
getNoDisplayOriginal
public boolean getNoDisplayOriginal()Gets the noDisplayOriginal attribute of the VocabNode object- Specified by:
getNoDisplayOriginalin interfaceVocabNode- Returns:
- The noDisplayOriginal value
-
setNoDisplayOriginal
public void setNoDisplayOriginal(boolean noDisplayOriginal) Sets the noDisplay attribute of the vocab node (for UI suppression)- Specified by:
setNoDisplayOriginalin interfaceVocabNode- Parameters:
noDisplayOriginal- The new noDisplayOriginal value
-
getWrap
public boolean getWrap()Gets the wrap attribute of the VocabNode object -
setWrap
public void setWrap(boolean wrap) Sets the wrap attribute of the VocabNode object -
getCollapsible
public boolean getCollapsible()Gets the collapsible attribute of the VocabNode object- Returns:
- The collapsible value
-
setCollapsible
public void setCollapsible(boolean collapsible) Sets the collapsible attribute of the VocabNode object- Parameters:
collapsible- The new collapsible value
-
getDivider
public boolean getDivider()Gets the divider attribute of the VocabNode object- Specified by:
getDividerin interfaceVocabNode- Returns:
- The divider value
-
setDivider
public void setDivider(boolean divider) Sets the divider attribute of the VocabNode object- Specified by:
setDividerin interfaceVocabNode- Parameters:
divider- The new divider value
-
setIsLastInSubList
public void setIsLastInSubList(boolean isLastInSubList) Sets the isLastInSubList attribute of the VocabNode object- Specified by:
setIsLastInSubListin interfaceVocabNode- Parameters:
isLastInSubList- The new isLastInSubList value
-
getIsLastInSubList
public boolean getIsLastInSubList()Gets the isLastInSubList attribute of the VocabNode object- Specified by:
getIsLastInSubListin interfaceVocabNode- Returns:
- The isLastInSubList value
-