public class OrdinalProperty extends 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(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 void merge(CategoryProperty other)
CategoryProperty
merge
in interface CategoryProperty
other
- The category property to merge.