Class StandardPropertyMetadata

java.lang.Object
net.sf.jasperreports.properties.StandardPropertyMetadata
All Implemented Interfaces:
PropertyMetadata

public class StandardPropertyMetadata extends Object implements PropertyMetadata
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
  • Constructor Details

    • StandardPropertyMetadata

      public StandardPropertyMetadata()
  • Method Details

    • getLabel

      public String getLabel()
      Description copied from interface: PropertyMetadata
      Short label for the property.
      Specified by:
      getLabel in interface PropertyMetadata
      Returns:
      short property label
    • setLabel

      public void setLabel(String label)
    • getDescription

      public String getDescription()
      Description copied from interface: PropertyMetadata
      Short description of the property.
      Specified by:
      getDescription in interface PropertyMetadata
      Returns:
      short property description
    • setDescription

      public void setDescription(String description)
    • getDefaultValue

      public String getDefaultValue()
      Description copied from interface: PropertyMetadata
      The default value of the property.
      Specified by:
      getDefaultValue in interface PropertyMetadata
      Returns:
      the default property value
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
    • getScopes

      public List<net.sf.jasperreports.annotations.properties.PropertyScope> getScopes()
      Description copied from interface: PropertyMetadata
      The list of scopes at which the property can be set.
      Specified by:
      getScopes in interface PropertyMetadata
      Returns:
      the list of scopes at which the property can be set
    • setScopes

      public void setScopes(List<net.sf.jasperreports.annotations.properties.PropertyScope> scopes)
    • addScope

      public void addScope(net.sf.jasperreports.annotations.properties.PropertyScope scope)
    • getSinceVersion

      public String getSinceVersion()
      Description copied from interface: PropertyMetadata
      The version in which the property was introduced.
      Specified by:
      getSinceVersion in interface PropertyMetadata
      Returns:
      the version in which the property was introduced
    • setSinceVersion

      public void setSinceVersion(String sinceVersion)
    • getValueType

      public String getValueType()
      Description copied from interface: PropertyMetadata
      The type (as class name) of values that the property expects.
      Specified by:
      getValueType in interface PropertyMetadata
      Returns:
      the type of values that the property expects
    • setValueType

      public void setValueType(String valueType)
    • getName

      public String getName()
      Description copied from interface: PropertyMetadata
      The property name.
      Specified by:
      getName in interface PropertyMetadata
      Returns:
      the property name
    • setName

      public void setName(String name)
    • getConstantDeclarationClass

      public String getConstantDeclarationClass()
      Description copied from interface: PropertyMetadata
      The name of the class where the property constant is declared.
      Specified by:
      getConstantDeclarationClass in interface PropertyMetadata
      Returns:
      the class name that contains the property constant declaration
    • setConstantDeclarationClass

      public void setConstantDeclarationClass(String constantDeclarationClass)
    • getConstantFieldName

      public String getConstantFieldName()
      Description copied from interface: PropertyMetadata
      The name of the property constant declaration (static) field.
      Specified by:
      getConstantFieldName in interface PropertyMetadata
      Returns:
      the name of the property constant declaration field
      See Also:
    • setConstantFieldName

      public void setConstantFieldName(String constantFieldName)
    • getScopeQualifications

      public List<String> getScopeQualifications()
      Description copied from interface: PropertyMetadata
      The list of conditions under which the property is used (for instance using a specific query executer).
      Specified by:
      getScopeQualifications in interface PropertyMetadata
      Returns:
      the list of conditions under which the property is used
    • setScopeQualifications

      public void setScopeQualifications(List<String> scopeQualifications)
    • addScopeQualification

      public void addScopeQualification(String scopeQualification)
    • getCategory

      public String getCategory()
      Specified by:
      getCategory in interface PropertyMetadata
    • setCategory

      public void setCategory(String category)
    • isDeprecated

      public boolean isDeprecated()
      Specified by:
      isDeprecated in interface PropertyMetadata
    • setDeprecated

      public void setDeprecated(boolean deprecated)