|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.vocab.VocabNodeTermsGroups
public class VocabNodeTermsGroups
VocabNode is a node within the vocab hierarchy of a MetadataVocab instance
Constructor Summary | |
---|---|
VocabNodeTermsGroups(String name,
boolean noDisplay,
int groupLevel)
Constructor for the VocabNode object |
Method Summary | |
---|---|
String |
getDefinition()
Gets the vocab node definition |
String |
getDescription(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) |
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 |
String |
getId()
Gets the encoded system Id (indexed & used in search queries) |
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 |
String |
getLabel()
Gets the user interface label |
String |
getLabelAbbrev()
Gets the abbreviated user interface label |
VocabList |
getList()
Gets the vocab node sub-list |
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 |
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(String definition)
Sets the vocab node definition |
void |
setDescription(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(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(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(String label)
Sets the user interface label |
void |
setLabelAbbrev(String labelAbbrev)
Sets the abbreviated user interface label |
void |
setList(VocabList list)
Sets the vocab node sub-list |
void |
setMetaFormat(String metaFormat)
Sets the metaFormat attribute of the VocabNodeTermsGroups object |
void |
setName(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(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) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VocabNodeTermsGroups(String name, boolean noDisplay, int groupLevel)
name
- metadata namenoDisplay
- groupLevel
- Method Detail |
---|
public void setMetaFormat(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(String fieldId)
setFieldId
in interface VocabNode
fieldId
- The new fieldId valuepublic String getFieldId()
getFieldId
in interface VocabNode
public String getName()
getName
in interface VocabNode
public void setName(String name)
setName
in interface VocabNode
name
- The new name valuepublic String getId()
getId
in interface VocabNode
public void setId(String id)
setId
in interface VocabNode
id
- The new id valuepublic String getIdCompare()
public String getLabel()
getLabel
in interface VocabNode
public void setLabel(String label)
setLabel
in interface VocabNode
label
- The new label valuepublic String getLabelAbbrev()
getLabelAbbrev
in interface VocabNode
public void setLabelAbbrev(String labelAbbrev)
setLabelAbbrev
in interface VocabNode
labelAbbrev
- The new labelAbbrev valuepublic String getDefinition()
getDefinition
in interface VocabNode
public void setDefinition(String definition)
setDefinition
in interface VocabNode
definition
- The new definition valuepublic void setSrc(String src)
setSrc
in interface VocabNode
src
- The new src valuepublic String getDescription(PageContext page)
getDescription
in interface VocabNode
page
-
public void setDescription(String description)
setDescription
in interface VocabNode
description
- The new description valuepublic VocabList getList()
getList
in interface VocabNode
public void setList(VocabList list)
setList
in interface VocabNode
list
- The new list valuepublic 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()
getWrap
in interface VocabNode
public void setWrap(boolean wrap)
setWrap
in interface VocabNode
wrap
- The new wrap valuepublic 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
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |