|
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.apache.struts.action.ActionForm org.dlese.dpc.dds.action.form.VocabForm
public class VocabForm
A Struts Form bean for handling controlled vocabulary displays.
Field Summary | |
---|---|
protected String |
audience
NOT YET DOCUMENTED |
protected String |
field
NOT YET DOCUMENTED |
protected String |
language
NOT YET DOCUMENTED |
protected String |
metaFormat
NOT YET DOCUMENTED |
protected String |
value
NOT YET DOCUMENTED |
protected MetadataVocab |
vocab
NOT YET DOCUMENTED |
Fields inherited from class org.apache.struts.action.ActionForm |
---|
multipartRequestHandler, servlet |
Constructor Summary | |
---|---|
VocabForm()
|
Method Summary | |
---|---|
String |
getAudience()
Gets the UI audience attribute of the VocabForm object |
String |
getField()
gets the vocabulary field attribute of the VocabActionForm object |
String |
getFieldId()
Gets the field encoded ID of the current vocabulary |
String |
getFieldLabel()
Gets the UI label of the current vocabulary |
boolean |
getIsVocabTermAvailable()
True if there is a vocab entry for this field/value, false if not. |
String |
getLanguage()
Gets the UI language attribute of the VocabForm object |
MetadataVocab |
getVocab()
Gets the vocab attribute of the VocabActionForm object |
ArrayList |
getVocabList()
Gets the vocabList attribute of the VocabActionForm object |
ArrayList |
getVocabList(String field)
Gets the vocabList attribute of the VocabActionForm object |
VocabNode |
getVocabTerm()
Gets the current vocabulary term as a VocabNode, or if unavailable, an untranslated vocabulary term as a VocabNode, which simply echos the vocab ID in the id, name, label and labelabbrev fields. |
void |
setField(String field)
Sets the field attribute of the VocabForm object |
void |
setField(String metaFormat,
String field)
Sets the vocabulary field attribute of the VocabActionForm object |
void |
setMetaFormat(String metaFormat)
Sets the metaFormat attribute of the VocabForm object |
void |
setValue(String value)
Sets the vocabulary value (last half of field/value pair) |
void |
setVocab(MetadataVocab vocab)
Constructor for the VocabForm object |
void |
setVocabInterface(String system)
Deprecated. As of MetadataUI v1.0, replaced by new constructor |
Methods inherited from class org.apache.struts.action.ActionForm |
---|
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected MetadataVocab vocab
protected String field
protected String value
protected String metaFormat
protected String audience
protected String language
Constructor Detail |
---|
public VocabForm()
Method Detail |
---|
public void setVocab(MetadataVocab vocab)
vocab
- The new vocab valuepublic void setVocabInterface(String system)
system
- The new vocabInterface valuepublic String getAudience()
public String getLanguage()
public void setField(String metaFormat, String field)
field
- The new field valuemetaFormat
- The new field valuepublic void setField(String field)
field
- The new field valuepublic void setMetaFormat(String metaFormat)
metaFormat
- The new metaFormat valuepublic String getField()
public String getFieldLabel()
public String getFieldId()
public void setValue(String value)
value
- The new value valuepublic VocabNode getVocabTerm()
getIsVocabTermAvailable()
public boolean getIsVocabTermAvailable()
getVocabTerm()
will
return the translated vocabs, if false it will return the untranslated values.
getVocabTerm()
public final MetadataVocab getVocab()
public ArrayList getVocabList(String field)
field
-
public ArrayList getVocabList()
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |