Skip navigation links

Oracle Communications Service Broker
SAL API Reference Reference
Release 6.0

E26227-01


com.convergin.common.sal.ext.api
Interface Parameterable

All Superinterfaces:
java.lang.Cloneable
All Known Subinterfaces:
Address

public interface Parameterable
extends java.lang.Cloneable

The Parameterable interface is used to indicate a SAL header field value with optional parameters. All of the Address header fields are Parameterable, including Contact, From, To and Route.


Method Summary
 java.lang.Object clone()
          Returns a clone of this Parameterable.
 boolean equals(java.lang.Object o)
          Compares the given Parameterable with this one.
 java.lang.String getParameter(java.lang.String key)
          Returns the value of the named parameter, or null if it is not set.
 java.util.Iterator<java.lang.String> getParameterNames()
          Returns an Iterator of the names of all parameters contained in this object.
 java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> getParameters()
          Returns a Collection view of the parameter name-value mappings contained in this Parameterable.
 java.lang.String getValue()
          Returns the field value as a string.
 void removeParameter(java.lang.String name)
          Removes the named parameter from this object.
 void setParameter(java.lang.String name, java.lang.String value)
          Sets the value of the named parameter.
 void setValue(java.lang.String value)
          Set the value of the field.

 

Method Detail

clone

java.lang.Object clone()
Returns a clone of this Parameterable. The cloned Parameterable has identical field value and parameters.
Returns:
a clone of this Parameterable

equals

boolean equals(java.lang.Object o)
Compares the given Parameterable with this one. As Parameterables consist of a field-value and an optional set of name-value parameters, the following rules should be used for comparing them:

<nl>