public interface CategoryProperty
extends java.io.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 java.lang.UnsupportedOperationException
other
- The category property to merge.java.lang.UnsupportedOperationException
- If merging is prohibited for this property.Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.