protected static enum ObjectType.PropertyOptionality extends java.lang.Enum<ObjectType.PropertyOptionality>
| Enum Constant and Description |
|---|
ALL_PROPS_ARE_REQUIRED
All properties are always required, even if explicitly voidable.
|
VOIDABLE_PROPS_ARE_OPTIONAL
Explicitly voidable properties are treated as optional.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectType.PropertyOptionality |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObjectType.PropertyOptionality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectType.PropertyOptionality VOIDABLE_PROPS_ARE_OPTIONAL
public static final ObjectType.PropertyOptionality ALL_PROPS_ARE_REQUIRED
public static ObjectType.PropertyOptionality[] values()
for (ObjectType.PropertyOptionality c : ObjectType.PropertyOptionality.values()) System.out.println(c);
public static ObjectType.PropertyOptionality 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 © 2009-2019 Google. All Rights Reserved.