public static enum CollectionSchema.Level extends Enum<CollectionSchema.Level>
Enum Constant and Description |
---|
MODERATE
New and modified documents must pass validation, except for modified documents where the OLD value did not
pass validation already.
|
NEW
Only newly inserted documents are validated.
|
NONE
The rule is inactive and validation thus turned off.
|
STRICT
All new and modified document must strictly pass validation.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static CollectionSchema.Level |
of(String label) |
static CollectionSchema.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionSchema.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionSchema.Level NONE
public static final CollectionSchema.Level NEW
public static final CollectionSchema.Level MODERATE
public static final CollectionSchema.Level STRICT
public static CollectionSchema.Level[] values()
for (CollectionSchema.Level c : CollectionSchema.Level.values()) System.out.println(c);
public static CollectionSchema.Level 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 nullpublic static CollectionSchema.Level of(String label)
public String getValue()
Copyright © 2016–2020 ArangoDB GmbH. All rights reserved.