Class ParameterDescriptor

    • Constructor Detail

      • ParameterDescriptor

        public ParameterDescriptor​(String name,
                                   Object parent,
                                   String displayName,
                                   String shortDescription)
        Creates a new ParameterDescriptor object with a given name and type, associated with a given parent object, and with a given display name and short description.
        Parameters:
        name - the name of this parameter. The name must follow the JavaBean naming conventions.
        parent - the object where this parameter is instantiated (or null for container-only).
        displayName - the localizable name of this parameter.
        shortDescription - a short localizable description of this parameter.
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: IParameterDescriptor
        Gets the programming name of this parameter. the name must follow the JavaBean naming conventions. For example, a parameter accessible by getMyText and setMyText must be named myText
        Specified by:
        getName in interface IParameterDescriptor
        Returns:
        the programming name of this parameter.
      • setDisplayName

        public void setDisplayName​(String displayName)
        Description copied from interface: IParameterDescriptor
        Sets the localizable name of this parameter.
        Specified by:
        setDisplayName in interface IParameterDescriptor
        Parameters:
        displayName - the new localizable name of this parameter.
      • setShortDescription

        public void setShortDescription​(String shortDescription)
        Description copied from interface: IParameterDescriptor
        Gets the short localizable description of this parameter.
        Specified by:
        setShortDescription in interface IParameterDescriptor
        Parameters:
        shortDescription - the new short localizable description of this parameter.
      • getReadMethod

        public Method getReadMethod()
        Description copied from interface: IParameterDescriptor
        Gets the method to obtain the current value of this parameter.
        Specified by:
        getReadMethod in interface IParameterDescriptor
        Returns:
        the method to get the current value of this parameter.