public enum GObjectType extends Enum<GObjectType> implements GeneratorObjectType
| Modifier and Type | Class and Description |
|---|---|
static class |
GObjectType.GObjectTypeDispatcher |
| Enum Constant and Description |
|---|
ENUMERATION_TYPE |
JSON_OBJECT_TYPE |
PLAIN_OBJECT_TYPE |
SCALAR |
UNION_TYPE |
XML_OBJECT_TYPE |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
dispatch(GObjectType.GObjectTypeDispatcher dispatcher) |
static GObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GObjectType PLAIN_OBJECT_TYPE
public static final GObjectType UNION_TYPE
public static final GObjectType XML_OBJECT_TYPE
public static final GObjectType JSON_OBJECT_TYPE
public static final GObjectType SCALAR
public static final GObjectType ENUMERATION_TYPE
public static GObjectType[] values()
for (GObjectType c : GObjectType.values()) System.out.println(c);
public static GObjectType 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 abstract void dispatch(GObjectType.GObjectTypeDispatcher dispatcher)
Copyright © 2019 Mulesoft. All rights reserved.