public static enum RecordField.Visibility extends java.lang.Enum<RecordField.Visibility>
Enum Constant and Description |
---|
ALWAYS |
QUERY_MATCH |
STRING_ENUM_MATCH |
Modifier and Type | Method and Description |
---|---|
static RecordField.Visibility |
find(int id)
Finds the visibility mode for the given id.
|
int |
getID()
Returns the id for this visibility mode.
|
static RecordField.Visibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecordField.Visibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordField.Visibility ALWAYS
public static final RecordField.Visibility STRING_ENUM_MATCH
public static final RecordField.Visibility QUERY_MATCH
public static RecordField.Visibility[] values()
for (RecordField.Visibility c : RecordField.Visibility.values()) System.out.println(c);
public static RecordField.Visibility 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 int getID()
find(int)
public static RecordField.Visibility find(int id)
id
- wanted idgetID()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.