Package net.sf.jasperreports.properties
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 Summary
Constructors Constructor Description StandardPropertyMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddScope(net.sf.jasperreports.annotations.properties.PropertyScope scope)voidaddScopeQualification(String scopeQualification)StringgetCategory()StringgetConstantDeclarationClass()The name of the class where the property constant is declared.StringgetConstantFieldName()The name of the property constant declaration (static) field.StringgetDefaultValue()The default value of the property.StringgetDescription()Short description of the property.StringgetLabel()Short label for the property.StringgetName()The property name.List<String>getScopeQualifications()The list of conditions under which the property is used (for instance using a specific query executer).List<net.sf.jasperreports.annotations.properties.PropertyScope>getScopes()The list of scopes at which the property can be set.StringgetSinceVersion()The version in which the property was introduced.StringgetValueType()The type (as class name) of values that the property expects.booleanisDeprecated()voidsetCategory(String category)voidsetConstantDeclarationClass(String constantDeclarationClass)voidsetConstantFieldName(String constantFieldName)voidsetDefaultValue(String defaultValue)voidsetDeprecated(boolean deprecated)voidsetDescription(String description)voidsetLabel(String label)voidsetName(String name)voidsetScopeQualifications(List<String> scopeQualifications)voidsetScopes(List<net.sf.jasperreports.annotations.properties.PropertyScope> scopes)voidsetSinceVersion(String sinceVersion)voidsetValueType(String valueType)
-
-
-
Method Detail
-
getLabel
public String getLabel()
Description copied from interface:PropertyMetadataShort label for the property.- Specified by:
getLabelin interfacePropertyMetadata- Returns:
- short property label
-
setLabel
public void setLabel(String label)
-
getDescription
public String getDescription()
Description copied from interface:PropertyMetadataShort description of the property.- Specified by:
getDescriptionin interfacePropertyMetadata- Returns:
- short property description
-
setDescription
public void setDescription(String description)
-
getDefaultValue
public String getDefaultValue()
Description copied from interface:PropertyMetadataThe default value of the property.- Specified by:
getDefaultValuein interfacePropertyMetadata- 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:PropertyMetadataThe list of scopes at which the property can be set.- Specified by:
getScopesin interfacePropertyMetadata- 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:PropertyMetadataThe version in which the property was introduced.- Specified by:
getSinceVersionin interfacePropertyMetadata- Returns:
- the version in which the property was introduced
-
setSinceVersion
public void setSinceVersion(String sinceVersion)
-
getValueType
public String getValueType()
Description copied from interface:PropertyMetadataThe type (as class name) of values that the property expects.- Specified by:
getValueTypein interfacePropertyMetadata- Returns:
- the type of values that the property expects
-
setValueType
public void setValueType(String valueType)
-
getName
public String getName()
Description copied from interface:PropertyMetadataThe property name.- Specified by:
getNamein interfacePropertyMetadata- Returns:
- the property name
-
setName
public void setName(String name)
-
getConstantDeclarationClass
public String getConstantDeclarationClass()
Description copied from interface:PropertyMetadataThe name of the class where the property constant is declared.- Specified by:
getConstantDeclarationClassin interfacePropertyMetadata- Returns:
- the class name that contains the property constant declaration
-
setConstantDeclarationClass
public void setConstantDeclarationClass(String constantDeclarationClass)
-
getConstantFieldName
public String getConstantFieldName()
Description copied from interface:PropertyMetadataThe name of the property constant declaration (static) field.- Specified by:
getConstantFieldNamein interfacePropertyMetadata- Returns:
- the name of the property constant declaration field
- See Also:
PropertyMetadata.getConstantDeclarationClass()
-
setConstantFieldName
public void setConstantFieldName(String constantFieldName)
-
getScopeQualifications
public List<String> getScopeQualifications()
Description copied from interface:PropertyMetadataThe list of conditions under which the property is used (for instance using a specific query executer).- Specified by:
getScopeQualificationsin interfacePropertyMetadata- Returns:
- the list of conditions under which the property is used
-
addScopeQualification
public void addScopeQualification(String scopeQualification)
-
getCategory
public String getCategory()
- Specified by:
getCategoryin interfacePropertyMetadata
-
setCategory
public void setCategory(String category)
-
isDeprecated
public boolean isDeprecated()
- Specified by:
isDeprecatedin interfacePropertyMetadata
-
setDeprecated
public void setDeprecated(boolean deprecated)
-
-