public enum ChildrenAssociationPolicy extends Enum<ChildrenAssociationPolicy>
Enum Constant and Description |
---|
all
Anyone may associate leaf nodes with the collection.
|
owners
Only collection node owners may associate leaf nodes with the collection.
|
whitelist
Only those on a whitelist may associate leaf nodes with the collection.
|
Modifier and Type | Method and Description |
---|---|
static ChildrenAssociationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChildrenAssociationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChildrenAssociationPolicy all
public static final ChildrenAssociationPolicy owners
public static final ChildrenAssociationPolicy whitelist
public static ChildrenAssociationPolicy[] values()
for (ChildrenAssociationPolicy c : ChildrenAssociationPolicy.values()) System.out.println(c);
public static ChildrenAssociationPolicy 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 null