Class NameValuePairImpl

  • All Implemented Interfaces:
    NameValuePair

    public class NameValuePairImpl
    extends java.lang.Object
    implements NameValuePair
    The Class NameValuePairImpl.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name
      The name.
      private java.lang.Object value
      The value.
    • Constructor Summary

      Constructors 
      Constructor Description
      NameValuePairImpl()
      Instantiates a new name value pair impl.
      NameValuePairImpl​(java.lang.String aName, java.lang.Object aValue)
      Instantiates a new name value pair impl.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Gets the name.
      java.lang.Object getValue()
      Gets the value.
      void setName​(java.lang.String aName)
      Sets the name.
      void setValue​(java.lang.Object aValue)
      Sets the value.
      • Methods inherited from class java.lang.Object

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

      • name

        private java.lang.String name
        The name.
      • value

        private java.lang.Object value
        The value.
    • Constructor Detail

      • NameValuePairImpl

        public NameValuePairImpl()
        Instantiates a new name value pair impl.
      • NameValuePairImpl

        public NameValuePairImpl​(java.lang.String aName,
                                 java.lang.Object aValue)
        Instantiates a new name value pair impl.
        Parameters:
        aName - the a name
        aValue - the a value
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: NameValuePair
        Gets the name.
        Specified by:
        getName in interface NameValuePair
        Returns:
        the name
      • setName

        public void setName​(java.lang.String aName)
        Description copied from interface: NameValuePair
        Sets the name.
        Specified by:
        setName in interface NameValuePair
        Parameters:
        aName - a name
      • getValue

        public java.lang.Object getValue()
        Description copied from interface: NameValuePair
        Gets the value.
        Specified by:
        getValue in interface NameValuePair
        Returns:
        the value
      • setValue

        public void setValue​(java.lang.Object aValue)
        Description copied from interface: NameValuePair
        Sets the value.
        Specified by:
        setValue in interface NameValuePair
        Parameters:
        aValue - a value