Class JRFillParameter

    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface JRParameter
      • setDescription

        public void setDescription​(java.lang.String description)
        Specified by:
        setDescription in interface JRParameter
      • getNestedType

        public java.lang.Class<?> getNestedType()
        Description copied from interface: JRParameter
        Returns the parameter nested value type.

        The parameter nested value type is used when the parameter value class is not sufficient in determining the expected type of the parameter values. The most common such scenario is when the parameter value class is Collection or a derived class, in which case the nested type specifies the type of values which are to be placed inside the collection.

        Specified by:
        getNestedType in interface JRParameter
        Returns:
        the nested value type for this parameter, or null if none set
        See Also:
        JRParameter.getValueClass()
      • getNestedTypeName

        public java.lang.String getNestedTypeName()
        Description copied from interface: JRParameter
        Returns the name of the parameter nested value type.
        Specified by:
        getNestedTypeName in interface JRParameter
        Returns:
        the name of the nested value type for this parameter, or null if none set
        See Also:
        JRParameter.getNestedType()
      • getValue

        public java.lang.Object getValue()
        Description copied from interface: JRValueParameter
        Returns the value assigned to the parameter.
        Specified by:
        getValue in interface JRValueParameter
        Returns:
        the value assigned to the parameter
      • setValue

        public void setValue​(java.lang.Object value)
        Description copied from interface: JRValueParameter
        Assigns the value to the parameter.
        Specified by:
        setValue in interface JRValueParameter
        Parameters:
        value - the value assigned to the parameter
      • hasProperties

        public boolean hasProperties()
        Description copied from interface: JRPropertiesHolder
        Checks whether the object has any properties.
        Specified by:
        hasProperties in interface JRPropertiesHolder
        Returns:
        whether the object has any properties
      • clone

        public java.lang.Object clone()
        Specified by:
        clone in interface JRCloneable
        Overrides:
        clone in class java.lang.Object