Class ProfileConditionValuePO

    • Constructor Detail

      • ProfileConditionValuePO

        public ProfileConditionValuePO()
        Constructor.
      • ProfileConditionValuePO

        public ProfileConditionValuePO​(java.lang.String value,
                                       java.lang.String description)
        Constructor.
        Parameters:
        value - Condition value.
        description - Condition value description.
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Returns:
        Returns the value.
      • getDescription

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

        public void setDescription​(java.lang.String description)
        Parameters:
        description - The description to set.
      • clone

        public java.lang.Object clone()
        Description copied from interface: PersistentObject
        Forces all the persistent objects to be cloneable.
        Specified by:
        clone in interface PersistentObject
        Overrides:
        clone in class java.lang.Object
        Returns:
        A clone of this object. The clone and the original are disjunct. They share only immutable objects, like Strings, Integers, etc.
        See Also:
        Object.clone()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • setLevel

        public void setLevel​(int level)
        Set the level in the hierarchy of Subject Scheme values this condition is located on.
        Parameters:
        level - the level in the hierarchy of Subject Scheme values this condition is located on.
      • getLevel

        public int getLevel()
        Get the level in the hierarchy of Subject Scheme values this condition is located on.
        Returns:
        Returns the level in the hierarchy of Subject Scheme values this condition is located on.
      • getComposeValue

        public java.lang.String getComposeValue()
        Gets the composed value. If this value is part of a group, for example the value 'db1' from 'database(db1 db2)' then the composed value is 'database(db1)'.
        Returns:
        The composed value.
      • getRenderName

        public java.lang.String getRenderName()
        Get the render name for the profiling condition. May be null.
        Returns:
        Returns the render name.
      • setRenderName

        public void setRenderName​(java.lang.String renderName)
        Set the render name.
        Parameters:
        renderName - The render name to be set in the dialog used to edit the profile condition value.
      • getValueDisplayLabel

        public java.lang.String getValueDisplayLabel()
        Get the display label for the attribute's value.
        Returns:
        the display label if the render name is not null, empty otherwise.