no.sesat.search.datamodel.request
Interface ParametersDataObject

All Superinterfaces:
MapDataObject<StringDataObject>, Serializable

@DataNode
public interface ParametersDataObject
extends MapDataObject<StringDataObject>

The ParameterDataObject class is a container for all request based information. This mainly includes parameters, but also headers and attributes.

Version:
$Id: ParametersDataObject.java 7225 2009-04-09 00:32:20Z ssmiweve $

Method Summary
 String getUniqueId()
          The UniqueId is used to trace one request from it's origin (apace or tomcat) down through each command and into the indexes.
 StringDataObject getValue(String key)
          Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
 Map<String,StringDataObject> getValues()
          Access to whole map is through a Collections.unmodifiable(map) copy.
 void setValue(String key, StringDataObject value)
          Associates the specified value with the specified key in this map (optional operation).
 

Method Detail

getValues

Map<String,StringDataObject> getValues()
Description copied from interface: MapDataObject
Access to whole map is through a Collections.unmodifiable(map) copy.

Specified by:
getValues in interface MapDataObject<StringDataObject>
Returns:

getValue

StringDataObject getValue(String key)
Description copied from interface: MapDataObject
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.

Specified by:
getValue in interface MapDataObject<StringDataObject>
Parameters:
key -
Returns:

setValue

@AccessAllow(value={})
void setValue(String key,
                               StringDataObject value)
Description copied from interface: MapDataObject
Associates the specified value with the specified key in this map (optional operation). If the map previously contained a mapping for the key, the old value is replaced by the specified value. (A map m is said to contain a mapping for a key k if and only if m.containsKey(k) would return true.)

If the value is null remove(key) is called on the underlying map.

Specified by:
setValue in interface MapDataObject<StringDataObject>
Parameters:
key -
value -

getUniqueId

String getUniqueId()
The UniqueId is used to trace one request from it's origin (apace or tomcat) down through each command and into the indexes.

Returns:
the uniqueId


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.