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 nullCopyright © 2014–2017 XMPP.rocks. All rights reserved.