Serializable, CategoryPropertyAssociationFloatProperty, AssociationIntPropertypublic abstract class AssociationProperty extends Object implements CategoryProperty
CategoryProperty associating a single integer value to a
CategoryAttribute. It should be used to describe the association
between the category and the document.
This class leave to extending classes the definition of
CategoryProperty.merge(CategoryProperty) policy for the integer associations.
Note: The association value is added both to a special category list, and to the category tokens.
AssociationEnhancement,
Serialized Form| Modifier and Type | Field | Description |
|---|---|---|
protected long |
association |
| Constructor | Description |
|---|---|
AssociationProperty(int value) |
Construct an
AssociationProperty. |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getAssociation() |
Returns the association value.
|
boolean |
hasBeenSet() |
Returns whether this attribute has been set (not all categories have an
association).
|
String |
toString() |
mergepublic AssociationProperty(int value)
AssociationProperty.value - The association value.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.