Class JRBaseField

    • Field Detail

      • PROPERTY_DESCRIPTION

        public static final java.lang.String PROPERTY_DESCRIPTION
        See Also:
        Constant Field Values
      • name

        protected java.lang.String name
      • description

        protected java.lang.String description
      • valueClassName

        protected java.lang.String valueClassName
      • valueClassRealName

        protected java.lang.String valueClassRealName
      • valueClass

        protected transient java.lang.Class<?> valueClass
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: JRField
        Gets the field unique name.
        Specified by:
        getName in interface JRField
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: JRField
        Gets the field optional description.
        Specified by:
        getDescription in interface JRField
      • setDescription

        public void setDescription​(java.lang.String description)
        Description copied from interface: JRField
        Sets the field description.
        Specified by:
        setDescription in interface JRField
      • getValueClass

        public java.lang.Class<?> getValueClass()
        Description copied from interface: JRField
        Gets the field value class. Field types cannot be primitives.
        Specified by:
        getValueClass in interface JRField
      • getValueClassName

        public java.lang.String getValueClassName()
        Description copied from interface: JRField
        Gets the field value class name.
        Specified by:
        getValueClassName in interface JRField
      • 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
      • getPropertyExpressions

        public JRPropertyExpression[] getPropertyExpressions()
        Description copied from interface: JRField
        Returns the list of dynamic/expression-based properties for this field.
        Specified by:
        getPropertyExpressions in interface JRField
        Returns:
        an array containing the expression-based properties of this field
      • clone

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