public static enum DocumentMetadataPatchBuilder.Cardinality extends java.lang.Enum<DocumentMetadataPatchBuilder.Cardinality>
Enum Constant and Description |
---|
ONE
Requires exactly one match.
|
ONE_OR_MORE
Requires at least one match.
|
ZERO_OR_MORE
Allows any number of matches.
|
ZERO_OR_ONE
Allows at most one match.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
abbreviate()
Returns the standard abbreviation for the cardinality value.
|
static DocumentMetadataPatchBuilder.Cardinality |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentMetadataPatchBuilder.Cardinality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentMetadataPatchBuilder.Cardinality ZERO_OR_ONE
public static final DocumentMetadataPatchBuilder.Cardinality ONE
public static final DocumentMetadataPatchBuilder.Cardinality ZERO_OR_MORE
public static final DocumentMetadataPatchBuilder.Cardinality ONE_OR_MORE
public static DocumentMetadataPatchBuilder.Cardinality[] values()
for (DocumentMetadataPatchBuilder.Cardinality c : DocumentMetadataPatchBuilder.Cardinality.values()) System.out.println(c);
public static DocumentMetadataPatchBuilder.Cardinality 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 nullpublic java.lang.String abbreviate()
Copyright © 2013-2020 MarkLogic Corporation.