com.ibm.commerce.component.contextservice

Class NameValuePair

  • java.lang.Object
    • com.ibm.commerce.component.contextservice.NameValuePair
  • All Implemented Interfaces:
    java.io.Serializable


    public class NameValuePair
    extends java.lang.Object
    implements java.io.Serializable
    The name-value pair. Defined due to the restrictions on the type of object that a Web-service--enabled method can take.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      NameValuePair()
      The do-nothing zero-argument constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getName()
      Gets the name portion of this name-value pair object.
      java.lang.String getValue()
      Gets the value portion of this name-value pair object.
      void setName(java.lang.String string)
      Sets the name portion of this name-value pair object.
      void setValue(java.lang.String string)
      Sets the value portion of this name-value pair object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • NameValuePair

        public NameValuePair()
        The do-nothing zero-argument constructor.
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name portion of this name-value pair object.
        Returns:
        the name
      • getValue

        public java.lang.String getValue()
        Gets the value portion of this name-value pair object.
        Returns:
        the value
      • setName

        public void setName(java.lang.String string)
        Sets the name portion of this name-value pair object.
        Parameters:
        string - the name
      • setValue

        public void setValue(java.lang.String string)
        Sets the value portion of this name-value pair object.
        Parameters:
        string - the value