Interface AttributeRegistry
-
- All Known Implementing Classes:
DefaultAttributeRegistry
public interface AttributeRegistry
The attribute registry allows to update the available attributes for an element. The update should happen during the boot-process or reports may behave inconsistently.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeMetaData
getAttributeDescription(String namespace, String name)
Retrieves the metadata for an attribute by namespace and name.void
putAttributeDescription(AttributeMetaData metaData)
Adds a new or updates the metadata for an existing attribute of a report-element.
-
-
-
Method Detail
-
putAttributeDescription
void putAttributeDescription(AttributeMetaData metaData)
Adds a new or updates the metadata for an existing attribute of a report-element.- Parameters:
metaData
- the new metadata object.
-
getAttributeDescription
AttributeMetaData getAttributeDescription(String namespace, String name)
Retrieves the metadata for an attribute by namespace and name.- Parameters:
namespace
- the namespace for the attribute.name
- the attribute name.- Returns:
- the attribute definition or null, if the attribute is not defined.
-
-