public enum ClassField extends Enum<ClassField> implements Field<Class<?>>
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Returns the index of this field.
|
FieldMarshaller<Class<?>> |
getMarshaller()
Returns the marshaller for this field.
|
static ClassField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassField ANY
public static final ClassField ID
public static final ClassField NAME
public static final ClassField FIELD
public static final ClassField ARRAY
public static ClassField[] values()
for (ClassField c : ClassField.values()) System.out.println(c);
public static ClassField 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 int getIndex()
Fieldpublic FieldMarshaller<Class<?>> getMarshaller()
FieldgetMarshaller in interface Field<Class<?>>Copyright © 2021 JBoss by Red Hat. All rights reserved.