public enum CardinalityValues extends java.lang.Enum<CardinalityValues>
List of the cardinalities defined on a node
Modifier and Type | Method and Description |
---|---|
static CardinalityValues |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardinalityValues[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardinalityValues _01
(0,1) : The node can have one child node
public static final CardinalityValues _0N
(0,N) : this node can have more than one child node
public static final CardinalityValues _11
(1,1) : The node must have one child node
public static final CardinalityValues _1N
(1,N): this node must have at least one child node
public static CardinalityValues valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CardinalityValues[] values()
for (CardinalityValues c : CardinalityValues.values()) System.out.println(c);