|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 VocabNodemetaFormat - The new metaFormat valuepublic void setGroupLevel(int groupLevel)
setGroupLevel in interface VocabNodegroupLevel - The new groupLevel valuepublic int getGroupLevel()
getGroupLevel in interface VocabNodepublic void setFieldId(String fieldId)
setFieldId in interface VocabNodefieldId - The new fieldId valuepublic String getFieldId()
getFieldId in interface VocabNodepublic String getName()
getName in interface VocabNodepublic void setName(String name)
setName in interface VocabNodename - The new name valuepublic String getId()
getId in interface VocabNodepublic void setId(String id)
setId in interface VocabNodeid - The new id valuepublic String getIdCompare()
public String getLabel()
getLabel in interface VocabNodepublic void setLabel(String label)
setLabel in interface VocabNodelabel - The new label valuepublic String getLabelAbbrev()
getLabelAbbrev in interface VocabNodepublic void setLabelAbbrev(String labelAbbrev)
setLabelAbbrev in interface VocabNodelabelAbbrev - The new labelAbbrev valuepublic String getDefinition()
getDefinition in interface VocabNodepublic void setDefinition(String definition)
setDefinition in interface VocabNodedefinition - The new definition valuepublic void setSrc(String src)
setSrc in interface VocabNodesrc - The new src valuepublic String getDescription(PageContext page)
getDescription in interface VocabNodepage -
public void setDescription(String description)
setDescription in interface VocabNodedescription - The new description valuepublic VocabList getList()
getList in interface VocabNodepublic void setList(VocabList list)
setList in interface VocabNodelist - The new list valuepublic ArrayList getSubList()
getSubList in interface VocabNodepublic boolean getHasSubList()
getHasSubList in interface VocabNodepublic boolean getNoDisplay()
getNoDisplay in interface VocabNodepublic void setNoDisplay(boolean noDisplay)
setNoDisplay in interface VocabNodenoDisplay - The new noDisplay valuepublic boolean getNoDisplayOriginal()
getNoDisplayOriginal in interface VocabNodepublic void setNoDisplayOriginal(boolean noDisplayOriginal)
setNoDisplayOriginal in interface VocabNodenoDisplayOriginal - The new noDisplayOriginal valuepublic boolean getWrap()
getWrap in interface VocabNodepublic void setWrap(boolean wrap)
setWrap in interface VocabNodewrap - The new wrap valuepublic boolean getDivider()
getDivider in interface VocabNodepublic void setDivider(boolean divider)
setDivider in interface VocabNodedivider - The new divider valuepublic void setIsLastInSubList(boolean isLastInSubList)
setIsLastInSubList in interface VocabNodeisLastInSubList - 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 | ||||||||