public static enum NodeTypes.PropertyCardinality extends Enum<NodeTypes.PropertyCardinality>
Enum Constant and Description |
---|
ANY |
MULTI_VALUED_ONLY |
SINGLE_VALUED_ONLY |
Modifier and Type | Method and Description |
---|---|
static NodeTypes.PropertyCardinality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeTypes.PropertyCardinality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeTypes.PropertyCardinality SINGLE_VALUED_ONLY
public static final NodeTypes.PropertyCardinality MULTI_VALUED_ONLY
public static final NodeTypes.PropertyCardinality ANY
public static NodeTypes.PropertyCardinality[] values()
for (NodeTypes.PropertyCardinality c : NodeTypes.PropertyCardinality.values()) System.out.println(c);
public static NodeTypes.PropertyCardinality valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.