Serializable
, CategoryProperty
AssociationFloatProperty
, AssociationIntProperty
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 FormModifier 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() |
merge
public AssociationProperty(int value)
AssociationProperty
.value
- The association value.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.