Class AttributeValue


  • public class AttributeValue
    extends java.lang.Object
    This class provides a name/value pair that is stored in session namespace. Both name and value are String.
    • Constructor Summary

      Constructors 
      Constructor Description
      AttributeValue​(java.lang.String attributeName, java.lang.String attributeValue)
      Creates an AttibuteValue with the specified attribute name and attribute value.
    • Method Summary

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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AttributeValue

        public AttributeValue​(java.lang.String attributeName,
                              java.lang.String attributeValue)
        Creates an AttibuteValue with the specified attribute name and attribute value.
        Parameters:
        attributeName -
        attributeValue -
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the attribute name.
        Returns:
        name of the attribute
      • getValue

        public java.lang.String getValue()
        Returns the attribute value.
        Returns:
        value of the attribute
      • setValue

        public void setValue​(java.lang.String value)
        Sets the attribute value
        Parameters:
        value - , the given value to set
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object