Package cdc.enums
Interface ForestDynamicEnum<V extends ForestDynamicEnum<V>>
- All Superinterfaces:
DynamicEnum
- All Known Implementing Classes:
AbstractForestDynamicEnum
-
Field Summary
Fields inherited from interface cdc.enums.DynamicEnum
NAME_COMPARATOR, QNAME_COMPARATOR -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanhasChildNamed(String name) default booleanisOverOrEqual(V other) default booleanisStrictlyOver(V other) Methods inherited from interface cdc.enums.DynamicEnum
getName, getQName
-
Method Details
-
getParent
V getParent()- Returns:
- The parent of this enumeration value.
-
getChildren
- Returns:
- The children of this enumeration value.
-
hasChildNamed
- Parameters:
name- The name.- Returns:
trueif this enumeration value has a child namedname.
-
isOverOrEqual
- Parameters:
other- The other enumeration value.- Returns:
trueif this enumeration value is over or equal toother.
-
isStrictlyOver
- Parameters:
other- The other enumeration value.- Returns:
trueif this enumeration value is strictly overother.
-