public 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 and Description |
|---|---|
protected long |
association |
| Constructor and Description |
|---|
AssociationProperty(int value)
Construct an
AssociationProperty. |
| Modifier and Type | Method and Description |
|---|---|
int |
getAssociation()
Returns the association value.
|
boolean |
hasBeenSet()
Returns whether this attribute has been set (not all categories have an
association).
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmergepublic AssociationProperty(int value)
AssociationProperty.value - The association value.Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.