public class AssociationIntProperty extends AssociationProperty
AssociationProperty
which treats the association as int - merges
two associations by summation.association
Constructor and Description |
---|
AssociationIntProperty(int value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
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.
|
getAssociation, hasBeenSet, toString
public AssociationIntProperty(int value)
value
- The association value.public void merge(CategoryProperty other)
CategoryProperty
other
- The category property to merge.