public interface CategoryProperty extends Serializable
CategoryAttribute
s during indexing.
Note that properties are put in a map and could be shallow copied during
CategoryAttributeImpl.clone()
, therefore reuse of
CategoryProperty
objects is not recommended. Also extends
Serializable
, making the CategoryContainer
serialization more
elegant.Modifier and Type | Method and Description |
---|---|
void |
merge(CategoryProperty other)
When adding categories with properties to a certain document, it is
possible that the same category will be added more than once with
different instances of the same property.
|
void merge(CategoryProperty other) throws UnsupportedOperationException
other
- The category property to merge.UnsupportedOperationException
- If merging is prohibited for this property.