public static enum Repetition.type extends Enum<Repetition.type>
Enum Constant and Description |
---|
OPTIONAL |
REPEATED |
REQUIRED |
UNDEFINED |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
Repetition.type |
intern() |
String |
toString() |
static Repetition.type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Repetition.type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Repetition.type REQUIRED
public static final Repetition.type OPTIONAL
public static final Repetition.type REPEATED
public static final Repetition.type UNDEFINED
public static Repetition.type[] values()
for (Repetition.type c : Repetition.type.values()) System.out.println(c);
public static Repetition.type 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 Repetition.type intern()
public String toString()
toString
in class Enum<Repetition.type>
Copyright © 2022. All rights reserved.