com.cognos.CAM_AAA.authentication

Class HiddenDisplayObject

  • java.lang.Object
    • com.cognos.CAM_AAA.authentication.HiddenDisplayObject
  • All Implemented Interfaces:
    IDisplayObject, IHiddenDisplayObject


    public class HiddenDisplayObject
    extends java.lang.Object
    implements IHiddenDisplayObject
    A hidden display object is used in a form when prompting the user in order to maintain information between prompts. It should not be displayed to the user. At form submission time, the display object value is assigned to the corresponding form field variable.
    • Constructor Summary

      Constructors 
      Constructor and Description
      HiddenDisplayObject(java.lang.String theName, java.lang.String theValue)
      Creates a hidden display object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getName()
      Returns the name of the display object.
      java.lang.String getValue()
      Returns the value that is currently set.
      void setValue(java.lang.String theValue)
      Sets the value for a display object.
      • Methods inherited from class java.lang.Object

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

      • HiddenDisplayObject

        public HiddenDisplayObject(java.lang.String theName,
                                   java.lang.String theValue)
        Creates a hidden display object.
        Parameters:
        theName - The name of the hidden display object and of the corresponding form field variable.
        theValue - The value to assign to the form field variable.
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: IDisplayObject
        Returns the name of the display object.
        Specified by:
        getName in interface IDisplayObject
        Returns:
        The name of the display object.
      • getValue

        public java.lang.String getValue()
        Description copied from interface: IDisplayObject
        Returns the value that is currently set.
        Specified by:
        getValue in interface IDisplayObject
        Returns:
        The value that is currently set.
      • setValue

        public void setValue(java.lang.String theValue)
        Sets the value for a display object.
        Parameters:
        theValue - The value to set for the display object.