public class VocabNodeTermsGroups extends java.lang.Object implements VocabNode, java.io.Serializable
Constructor and Description |
---|
VocabNodeTermsGroups(java.lang.String name,
boolean noDisplay,
int groupLevel)
Constructor for the VocabNode object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefinition()
Gets the vocab node definition
|
java.lang.String |
getDescription(javax.servlet.jsp.PageContext page)
Gets a truncated (first two sentences or first 300 characters, whichever
comes first) version of a vocab descrition
|
boolean |
getDivider()
Gets the divider attribute of the vocab node (for UI list dividing)
|
java.lang.String |
getFieldId()
Each vocab term has a field and a value.
|
int |
getGroupLevel()
Gets the groupLevel attribute of the VocabNode object
|
boolean |
getHasSubList()
Gets the hasSubList attribute of the VocabNode object
|
java.lang.String |
getId()
Gets the encoded system Id (indexed & used in search queries)
|
java.lang.String |
getIdCompare()
This is needed because Struts <logic:equal> compares strings that
look like numbers without regard to leading 0s, and our ID convention
causes matches between '05' and '005' to return true (they are "equal").
|
boolean |
getIsLastInSubList()
Gets the isLastInSublist attribute of the VocabNode object
|
java.lang.String |
getLabel()
Gets the user interface label
|
java.lang.String |
getLabelAbbrev()
Gets the abbreviated user interface label
|
VocabList |
getList()
Gets the vocab node sub-list
|
java.lang.String |
getName()
Gets the Metadata name
|
boolean |
getNoDisplay()
Gets the noDisplay attribute of the vocab node (for UI suppression)
|
boolean |
getNoDisplayOriginal()
Gets the noDisplayOriginal attribute of the VocabNode object
|
java.util.ArrayList |
getSubList()
Struts equivalent of getList()--JPSs work by iterating over ArrayLists
(Collections)
|
boolean |
getWrap()
Gets the wrap attribute of the vocab node (for UI table column wrapping)
|
void |
setDefinition(java.lang.String definition)
Sets the vocab node definition
|
void |
setDescription(java.lang.String description)
Sets the vocab node src (file for information panel)
|
void |
setDivider(boolean divider)
Sets the divider attribute of the vocab node (for UI list dividing)
|
void |
setFieldId(java.lang.String fieldId)
Each vocab term has a field and a value.
|
void |
setGroupLevel(int groupLevel)
Sets the groupLevel attribute of the VocabNode object
|
void |
setId(java.lang.String id)
Sets the encoded system Id (indexed & used in search queries)
|
void |
setIsLastInSubList(boolean isLastInSubList)
Sets the isLastInSublist attribute of the VocabNode object
|
void |
setLabel(java.lang.String label)
Sets the user interface label
|
void |
setLabelAbbrev(java.lang.String labelAbbrev)
Sets the abbreviated user interface label
|
void |
setList(VocabList list)
Sets the vocab node sub-list
|
void |
setMetaFormat(java.lang.String metaFormat)
Sets the metaFormat attribute of the VocabNodeTermsGroups object
|
void |
setName(java.lang.String name)
Sets the Metadata name
|
void |
setNoDisplay(boolean noDisplay)
Sets the noDisplay attribute of the vocab node (for UI suppression)
|
void |
setNoDisplayOriginal(boolean noDisplayOriginal)
Sets the noDisplay attribute of the vocab node (for UI suppression)
|
void |
setSrc(java.lang.String src)
Sets the src attribute of the VocabNode object
|
void |
setWrap(boolean wrap)
Sets the wrap attribute of the vocab node (for UI table column wrapping)
|
public VocabNodeTermsGroups(java.lang.String name, boolean noDisplay, int groupLevel)
name
- metadata namenoDisplay
- groupLevel
- public void setMetaFormat(java.lang.String metaFormat)
setMetaFormat
in interface VocabNode
metaFormat
- The new metaFormat valuepublic void setGroupLevel(int groupLevel)
setGroupLevel
in interface VocabNode
groupLevel
- The new groupLevel valuepublic int getGroupLevel()
getGroupLevel
in interface VocabNode
public void setFieldId(java.lang.String fieldId)
setFieldId
in interface VocabNode
fieldId
- The new fieldId valuepublic java.lang.String getFieldId()
getFieldId
in interface VocabNode
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getIdCompare()
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public java.lang.String getLabelAbbrev()
getLabelAbbrev
in interface VocabNode
public void setLabelAbbrev(java.lang.String labelAbbrev)
setLabelAbbrev
in interface VocabNode
labelAbbrev
- The new labelAbbrev valuepublic java.lang.String getDefinition()
getDefinition
in interface VocabNode
public void setDefinition(java.lang.String definition)
setDefinition
in interface VocabNode
definition
- The new definition valuepublic void setSrc(java.lang.String src)
public java.lang.String getDescription(javax.servlet.jsp.PageContext page)
getDescription
in interface VocabNode
page
- public void setDescription(java.lang.String description)
setDescription
in interface VocabNode
description
- The new description valuepublic VocabList getList()
public void setList(VocabList list)
public java.util.ArrayList getSubList()
getSubList
in interface VocabNode
public boolean getHasSubList()
getHasSubList
in interface VocabNode
public boolean getNoDisplay()
getNoDisplay
in interface VocabNode
public void setNoDisplay(boolean noDisplay)
setNoDisplay
in interface VocabNode
noDisplay
- The new noDisplay valuepublic boolean getNoDisplayOriginal()
getNoDisplayOriginal
in interface VocabNode
public void setNoDisplayOriginal(boolean noDisplayOriginal)
setNoDisplayOriginal
in interface VocabNode
noDisplayOriginal
- The new noDisplayOriginal valuepublic boolean getWrap()
public void setWrap(boolean wrap)
public boolean getDivider()
getDivider
in interface VocabNode
public void setDivider(boolean divider)
setDivider
in interface VocabNode
divider
- The new divider valuepublic void setIsLastInSubList(boolean isLastInSubList)
setIsLastInSubList
in interface VocabNode
isLastInSubList
- The new isLastInSubList valuepublic boolean getIsLastInSubList()
getIsLastInSubList
in interface VocabNode