public class OrdinalProperty extends java.lang.Object implements CategoryProperty
CategoryProperty
holding the ordinal from the taxonomy of the
current category in CategoryAttribute
.
Ordinal properties are added internally during processing of category streams, and it is recommended not to use it externally.
Modifier and Type | Field and Description |
---|---|
protected int |
ordinal |
Constructor and Description |
---|
OrdinalProperty() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
equals(java.lang.Object other) |
int |
getOrdinal() |
boolean |
hasBeenSet() |
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.
|
void |
setOrdinal(int value) |
public int getOrdinal()
public boolean hasBeenSet()
public void setOrdinal(int value)
public void clear()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void merge(CategoryProperty other)
CategoryProperty
merge
in interface CategoryProperty
other
- The category property to merge.Copyright © 2000-2023 Apache Software Foundation. All Rights Reserved.