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