public enum ChildrenAssociationPolicy extends java.lang.Enum<ChildrenAssociationPolicy>
The children association policy defines, who may associate leaf nodes with a collection.
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(java.lang.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(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 nullCopyright © 2014–2019 XMPP.rocks. All rights reserved.