Class ApplicationParameter

  • All Implemented Interfaces:
    java.io.Serializable

    public class ApplicationParameter
    extends java.lang.Object
    implements java.io.Serializable
    Representation of a context initialization parameter that is configured in the server configuration file, rather than the application deployment descriptor. This is convenient for establishing default values (which may be configured to allow application overrides or not) without having to modify the application deployment descriptor itself.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ApplicationParameter()
      Constructs a new ApplicationParameter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Returns the description of this parameter.
      java.lang.String getName()
      Returns the name of this parameter.
      boolean getOverride()
      Returns whether overrides are allowed.
      java.lang.String getValue()
      Returns the value of this parameter.
      void setDescription​(java.lang.String description)
      Sets the description of this parameter.
      void setName​(java.lang.String name)
      Sets the name of this parameter.
      void setOverride​(boolean override)
      Sets whether overrides are allowed.
      void setValue​(java.lang.String value)
      Sets the value of this parameter.
      java.lang.String toString()
      Return a String representation of this object.
      • Methods inherited from class java.lang.Object

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

      • ApplicationParameter

        public ApplicationParameter()
        Constructs a new ApplicationParameter.
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Returns the description of this parameter.
        Returns:
        the description of this parameter
      • setDescription

        public void setDescription​(java.lang.String description)
        Sets the description of this parameter.
        Parameters:
        description - the description
      • getName

        public java.lang.String getName()
        Returns the name of this parameter.
        Returns:
        the name of this parameter
      • setName

        public void setName​(java.lang.String name)
        Sets the name of this parameter.
        Parameters:
        name - the name
      • getOverride

        public boolean getOverride()
        Returns whether overrides are allowed.
        Returns:
        whether overrides are allowed
      • setOverride

        public void setOverride​(boolean override)
        Sets whether overrides are allowed.
        Parameters:
        override - whether overrides are allowed
      • getValue

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

        public void setValue​(java.lang.String value)
        Sets the value of this parameter.
        Parameters:
        value - the value
      • toString

        public java.lang.String toString()
        Return a String representation of this object.
        Overrides:
        toString in class java.lang.Object