Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


com.bea.wlcp.wlng.api.edr
Class EdrData

java.lang.Object
  extended bycom.bea.wlcp.wlng.api.edr.EdrData

All Implemented Interfaces:
Serializable

public class EdrData
extends Object
implements Serializable

Class holding the EDR data. This class is to be used instead of EdrInformation starting with Melitta.

See Also:
Serialized Form

Constructor Summary
EdrData()
          Constructor.

 

Method Summary
 Map getMap()
          Returns the underlying map containing all the key/value pairs.
 long getUID()
          Gets the unique identifier of this EDR instance.
 String getValue(String key)
          Returns the value associated with a key.
 List getValues(String key)
          Returns the list of values associated with a key.
 Set keySet()
          Returns the set of keys.
static String readString(ObjectInputStream in)
           
 void setUID(long uid)
          Sets the unique identifier of this EDR instance.
 void setValue(String key, Object value)
          Associates an object value with a key.
 void setValue(String key, String value)
          Associates a string value with a key.
 void setValues(String key, List values)
          Associates a list of values with a key.
static void writeString(ObjectOutputStream out, String str)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

EdrData

public EdrData()
Constructor.

Method Detail

getMap

public Map getMap()
Returns the underlying map containing all the key/value pairs.
Returns:
The underlying map of key/value pairs.

getUID

public long getUID()
Gets the unique identifier of this EDR instance.
Returns:
long unique identifier of this EDR instance.

getValue

public String getValue(String key)
Returns the value associated with a key. Because internally each key has a list of values associated with it, only the first element is returned.
Parameters:
key - The key.
Returns:
The associated value, null if not found.

getValues

public List getValues(String key)
Returns the list of values associated with a key.
Parameters:
key - The key.
Returns:
The list of values, null if not found.

keySet

public Set keySet()
Returns the set of keys.
Returns:
The set of keys.

readString

public static String readString(ObjectInputStream in)
                         throws IOException
Throws:
IOException

setUID

public void setUID(long uid)
Sets the unique identifier of this EDR instance.

setValue

public void setValue(String key,
                     Object value)
Associates an object value with a key. The object will be converted to a string using toString(). If the object is iterable, each of its elements will be converted to a string using toString().
Parameters:
key - The key.
value - The value associated with the key.

setValue

public void setValue(String key,
                     String value)
Associates a string value with a key.
Parameters:
key - The key.
value - The value associated with the key.

setValues

public void setValues(String key,
                      List values)
Associates a list of values with a key.
Parameters:
key - The key.
values - The list of values associated with the key.

writeString

public static void writeString(ObjectOutputStream out,
                               String str)
                        throws IOException
Throws:
IOException

Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


Copyright © 2008, 2015, Oracle and/or its affiliates. All rights reserved.