DLESE Tools
v1.6.0

org.dlese.dpc.vocab
Class MetadataVocabResponseMap

java.lang.Object
  extended by org.dlese.dpc.vocab.MetadataVocabResponseMap
All Implemented Interfaces:
Serializable

public class MetadataVocabResponseMap
extends Object
implements Serializable

Stores a list of metadata values that come from a services/indexer response, for reproducing with OPML-defined order/groupings/labels

Author:
Ryan Deardorff
See Also:
Serialized Form

Field Summary
 String audience
           
 String field
           
 String language
           
protected  HashMap map
           
 String metaFormat
           
 String metaVersion
           
 
Constructor Summary
MetadataVocabResponseMap(String metaFormat, String metaVersion, String audience, String language, String field)
          Audience is a user group, i.e.
 
Method Summary
 boolean hasValue(String value)
          Has the specified value been cached in the response?
 void setValue(String value)
          Indicates a particular value in a list of response values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

audience

public String audience

metaFormat

public String metaFormat

metaVersion

public String metaVersion

language

public String language

field

public String field

map

protected HashMap map
Constructor Detail

MetadataVocabResponseMap

public MetadataVocabResponseMap(String metaFormat,
                                String metaVersion,
                                String audience,
                                String language,
                                String field)
Audience is a user group, i.e. "default", "community", or "cataloger"

Parameters:
audience - The new audience value
metaFormat -
metaVersion -
language -
field -
Method Detail

setValue

public void setValue(String value)
Indicates a particular value in a list of response values

Parameters:
value - The new value value

hasValue

public boolean hasValue(String value)
Has the specified value been cached in the response?

Parameters:
value -
Returns:

DLESE Tools
v1.6.0