Package org.nuxeo.ecm.platform.tag
Class Tag
- java.lang.Object
-
- org.nuxeo.ecm.platform.tag.Tag
-
- All Implemented Interfaces:
Serializable
@Deprecated public class Tag extends Object implements Serializable
Deprecated.since 9.3, as we don't use the weight anymoreAggregates a tag with its weight.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
Tag.TagLabelComparator
Deprecated.protected static class
Tag.TagWeightComparator
Deprecated.
-
Field Summary
Fields Modifier and Type Field Description String
label
Deprecated.The tag label.static Comparator<Tag>
LABEL_COMPARATOR
Deprecated.Compare tags by label, case insensitive.long
weight
Deprecated.The weight of the tag.static Comparator<Tag>
WEIGHT_COMPARATOR
Deprecated.Compare tags by weight, decreasing.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
Deprecated.String
getLabel()
Deprecated.long
getWeight()
Deprecated.int
hashCode()
Deprecated.void
setWeight(long weight)
Deprecated.String
toString()
Deprecated.
-
-
-
Field Detail
-
weight
public long weight
Deprecated.The weight of the tag.
-
LABEL_COMPARATOR
public static final Comparator<Tag> LABEL_COMPARATOR
Deprecated.Compare tags by label, case insensitive.
-
WEIGHT_COMPARATOR
public static final Comparator<Tag> WEIGHT_COMPARATOR
Deprecated.Compare tags by weight, decreasing.
-
-