Class VocabNodeOPML

java.lang.Object
org.dlese.dpc.vocab.VocabNodeOPML
All Implemented Interfaces:
VocabNode

public class VocabNodeOPML extends Object implements VocabNode
MetadataVocabOPML implementation of a controlled vocabulary tree node
  • Constructor Summary

    Constructors
    Constructor
    Description
    VocabNodeOPML(String metaFormat)
    Constructor for the VocabNodeOPML object
    VocabNodeOPML(String metaFormat, org.dlese.dpc.gui.OPMLTree.TreeNode node)
    Constructor for the VocabNodeOPML object
    VocabNodeOPML(String metaFormat, org.dlese.dpc.gui.OPMLTree.TreeNode node, VocabList parent)
    Constructor for the VocabNodeOPML object
    VocabNodeOPML(org.dlese.dpc.gui.OPMLTree.TreeNode node)
    Constructor for the VocabNodeOPML object
    VocabNodeOPML(org.dlese.dpc.gui.OPMLTree.TreeNode node, VocabList parent)
    Constructor for the VocabNodeOPML object
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets the collapsible attribute of the VocabNode object
    Gets the definition attribute of the VocabNode object
    Gets the description attribute of the VocabNodeOPML object
    boolean
    Gets the divider attribute of the VocabNode object
    Gets the fieldId attribute of the VocabNode object
    int
    Gets the groupLevel attribute of the VocabNode object
    boolean
    Gets the hasSubList attribute of the VocabNode object
    Gets the id attribute of the VocabNode object
    boolean
    Gets the isLastInSubList attribute of the VocabNode object
    Gets the label attribute of the VocabNode object
    Gets the labelAbbrev attribute of the VocabNode object
    Gets the list attribute of the VocabNode object
    Gets the name attribute of the VocabNode object
    boolean
    Gets the noDisplay attribute of the VocabNode object
    boolean
    Gets the noDisplayOriginal attribute of the VocabNode object
    Struts equivalent of getList()--JPSs work by iterating over ArrayLists (Collections)
    boolean
    Gets the wrap attribute of the VocabNode object
    void
    setCollapsible(boolean collapsible)
    Sets the collapsible attribute of the VocabNode object
    void
    setDefinition(String definition)
    Sets the definition attribute of the VocabNode object
    void
    setDescription(String description)
    Sets the description attribute of the VocabNode object
    void
    setDivider(boolean divider)
    Sets the divider attribute of the VocabNode object
    void
    setFieldId(String fieldId)
    Sets the fieldId attribute of the VocabNode object
    void
    setGroupLevel(int groupLevel)
    Sets the groupLevel attribute of the VocabNode object
    void
    Sets the id attribute of the VocabNode object
    void
    setIsLastInSubList(boolean isLastInSubList)
    Sets the isLastInSubList attribute of the VocabNode object
    void
    Sets the label attribute of the VocabNode object
    void
    setLabelAbbrev(String labelAbbrev)
    Sets the labelAbbrev attribute of the VocabNode object
    void
    Sets the list attribute of the VocabNode object
    void
    setMetaFormat(String metaFormat)
    Sets the metaFormat attribute of the VocabNodeOPML object
    void
    Sets the name attribute of the VocabNode object
    void
    setNoDisplay(boolean noDisplay)
    Sets the noDisplay attribute of the VocabNode object
    void
    setNoDisplayOriginal(boolean noDisplayOriginal)
    Sets the noDisplay attribute of the vocab node (for UI suppression)
    void
    Sets the src attribute of the VocabNode object
    void
    setWrap(boolean wrap)
    Sets the wrap attribute of the VocabNode object

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VocabNodeOPML

      public VocabNodeOPML(org.dlese.dpc.gui.OPMLTree.TreeNode node)
      Constructor for the VocabNodeOPML object
      Parameters:
      node -
    • VocabNodeOPML

      public VocabNodeOPML(String metaFormat, org.dlese.dpc.gui.OPMLTree.TreeNode node)
      Constructor for the VocabNodeOPML object
      Parameters:
      metaFormat -
      node -
    • VocabNodeOPML

      public VocabNodeOPML(org.dlese.dpc.gui.OPMLTree.TreeNode node, VocabList parent)
      Constructor for the VocabNodeOPML object
      Parameters:
      node -
      parent -
    • VocabNodeOPML

      public VocabNodeOPML(String metaFormat, org.dlese.dpc.gui.OPMLTree.TreeNode node, VocabList parent)
      Constructor for the VocabNodeOPML object
      Parameters:
      metaFormat -
      node -
      parent -
    • VocabNodeOPML

      public VocabNodeOPML(String metaFormat)
      Constructor for the VocabNodeOPML object
      Parameters:
      metaFormat -
  • Method Details

    • setMetaFormat

      public void setMetaFormat(String metaFormat)
      Sets the metaFormat attribute of the VocabNodeOPML object
      Specified by:
      setMetaFormat in interface VocabNode
      Parameters:
      metaFormat - The new metaFormat value
    • setGroupLevel

      public void setGroupLevel(int groupLevel)
      Sets the groupLevel attribute of the VocabNode object
      Specified by:
      setGroupLevel in interface VocabNode
      Parameters:
      groupLevel - The new groupLevel value
    • getGroupLevel

      public int getGroupLevel()
      Gets the groupLevel attribute of the VocabNode object
      Specified by:
      getGroupLevel in interface VocabNode
      Returns:
      The groupLevel value
    • setFieldId

      public void setFieldId(String fieldId)
      Sets the fieldId attribute of the VocabNode object
      Specified by:
      setFieldId in interface VocabNode
      Parameters:
      fieldId - The new fieldId value
    • getFieldId

      public String getFieldId()
      Gets the fieldId attribute of the VocabNode object
      Specified by:
      getFieldId in interface VocabNode
      Returns:
      The fieldId value
    • getName

      public String getName()
      Gets the name attribute of the VocabNode object
      Specified by:
      getName in interface VocabNode
      Returns:
      The name value
    • setName

      public void setName(String name)
      Sets the name attribute of the VocabNode object
      Specified by:
      setName in interface VocabNode
      Parameters:
      name - The new name value
    • getId

      public String getId()
      Gets the id attribute of the VocabNode object
      Specified by:
      getId in interface VocabNode
      Returns:
      The id value
    • setId

      public void setId(String id)
      Sets the id attribute of the VocabNode object
      Specified by:
      setId in interface VocabNode
      Parameters:
      id - The new id value
    • getLabel

      public String getLabel()
      Gets the label attribute of the VocabNode object
      Specified by:
      getLabel in interface VocabNode
      Returns:
      The label value
    • setLabel

      public void setLabel(String label)
      Sets the label attribute of the VocabNode object
      Specified by:
      setLabel in interface VocabNode
      Parameters:
      label - The new label value
    • getLabelAbbrev

      public String getLabelAbbrev()
      Gets the labelAbbrev attribute of the VocabNode object
      Specified by:
      getLabelAbbrev in interface VocabNode
      Returns:
      The labelAbbrev value
    • setLabelAbbrev

      public void setLabelAbbrev(String labelAbbrev)
      Sets the labelAbbrev attribute of the VocabNode object
      Specified by:
      setLabelAbbrev in interface VocabNode
      Parameters:
      labelAbbrev - The new labelAbbrev value
    • getDefinition

      public String getDefinition()
      Gets the definition attribute of the VocabNode object
      Specified by:
      getDefinition in interface VocabNode
      Returns:
      The definition value
    • setDefinition

      public void setDefinition(String definition)
      Sets the definition attribute of the VocabNode object
      Specified by:
      setDefinition in interface VocabNode
      Parameters:
      definition - The new definition value
    • setSrc

      public void setSrc(String src)
      Sets the src attribute of the VocabNode object
      Specified by:
      setSrc in interface VocabNode
      Parameters:
      src - The new src value
    • getDescription

      public String getDescription(PageContext page)
      Gets the description attribute of the VocabNodeOPML object
      Specified by:
      getDescription in interface VocabNode
      Parameters:
      page -
      Returns:
      The description value
    • setDescription

      public void setDescription(String description)
      Sets the description attribute of the VocabNode object
      Specified by:
      setDescription in interface VocabNode
      Parameters:
      description - The new description value
    • getList

      public VocabList getList()
      Gets the list attribute of the VocabNode object
      Specified by:
      getList in interface VocabNode
      Returns:
      The list value
    • setList

      public void setList(VocabList list)
      Sets the list attribute of the VocabNode object
      Specified by:
      setList in interface VocabNode
      Parameters:
      list - The new list value
    • getSubList

      public ArrayList getSubList()
      Struts equivalent of getList()--JPSs work by iterating over ArrayLists (Collections)
      Specified by:
      getSubList in interface VocabNode
      Returns:
      The list value
    • getHasSubList

      public boolean getHasSubList()
      Gets the hasSubList attribute of the VocabNode object
      Specified by:
      getHasSubList in interface VocabNode
      Returns:
      The hasSubList value
    • getNoDisplay

      public boolean getNoDisplay()
      Gets the noDisplay attribute of the VocabNode object
      Specified by:
      getNoDisplay in interface VocabNode
      Returns:
      The noDisplay value
    • setNoDisplay

      public void setNoDisplay(boolean noDisplay)
      Sets the noDisplay attribute of the VocabNode object
      Specified by:
      setNoDisplay in interface VocabNode
      Parameters:
      noDisplay - The new noDisplay value
    • getNoDisplayOriginal

      public boolean getNoDisplayOriginal()
      Gets the noDisplayOriginal attribute of the VocabNode object
      Specified by:
      getNoDisplayOriginal in interface VocabNode
      Returns:
      The noDisplayOriginal value
    • setNoDisplayOriginal

      public void setNoDisplayOriginal(boolean noDisplayOriginal)
      Sets the noDisplay attribute of the vocab node (for UI suppression)
      Specified by:
      setNoDisplayOriginal in interface VocabNode
      Parameters:
      noDisplayOriginal - The new noDisplayOriginal value
    • getWrap

      public boolean getWrap()
      Gets the wrap attribute of the VocabNode object
      Specified by:
      getWrap in interface VocabNode
      Returns:
      The wrap value
    • setWrap

      public void setWrap(boolean wrap)
      Sets the wrap attribute of the VocabNode object
      Specified by:
      setWrap in interface VocabNode
      Parameters:
      wrap - The new wrap value
    • 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:
      getDivider in interface VocabNode
      Returns:
      The divider value
    • setDivider

      public void setDivider(boolean divider)
      Sets the divider attribute of the VocabNode object
      Specified by:
      setDivider in interface VocabNode
      Parameters:
      divider - The new divider value
    • setIsLastInSubList

      public void setIsLastInSubList(boolean isLastInSubList)
      Sets the isLastInSubList attribute of the VocabNode object
      Specified by:
      setIsLastInSubList in interface VocabNode
      Parameters:
      isLastInSubList - The new isLastInSubList value
    • getIsLastInSubList

      public boolean getIsLastInSubList()
      Gets the isLastInSubList attribute of the VocabNode object
      Specified by:
      getIsLastInSubList in interface VocabNode
      Returns:
      The isLastInSubList value