public static enum FunctionType._Field extends Enum<FunctionType._Field> implements net.morimekta.providence.descriptor.PField<FunctionType>
| Enum Constant and Description |
|---|
ANNOTATIONS |
DOCUMENTATION |
EXCEPTIONS |
NAME |
ONE_WAY |
PARAMS |
RETURN_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static FunctionType._Field |
fieldForId(int id) |
static FunctionType._Field |
fieldForName(String name) |
static FunctionType._Field |
fieldForPojoName(String name) |
static FunctionType._Field |
findById(int id) |
static FunctionType._Field |
findByName(String name) |
static FunctionType._Field |
findByPojoName(String name) |
net.morimekta.providence.descriptor.PStructDescriptor |
getArgumentsType() |
Object |
getDefaultValue() |
net.morimekta.providence.descriptor.PDescriptor |
getDescriptor() |
int |
getId() |
String |
getName() |
String |
getPojoName() |
net.morimekta.providence.descriptor.PRequirement |
getRequirement() |
boolean |
hasDefaultValue() |
net.morimekta.providence.descriptor.PMessageDescriptor<FunctionType> |
onMessageType() |
String |
toString() |
static FunctionType._Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FunctionType._Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionType._Field DOCUMENTATION
public static final FunctionType._Field ONE_WAY
public static final FunctionType._Field RETURN_TYPE
public static final FunctionType._Field NAME
public static final FunctionType._Field PARAMS
public static final FunctionType._Field EXCEPTIONS
public static final FunctionType._Field ANNOTATIONS
public static FunctionType._Field[] values()
for (FunctionType._Field c : FunctionType._Field.values()) System.out.println(c);
public static FunctionType._Field 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 getId()
getId in interface net.morimekta.providence.descriptor.PField<FunctionType>@Nonnull public net.morimekta.providence.descriptor.PRequirement getRequirement()
getRequirement in interface net.morimekta.providence.descriptor.PField<FunctionType>@Nonnull public net.morimekta.providence.descriptor.PDescriptor getDescriptor()
getDescriptor in interface net.morimekta.providence.descriptor.PField<FunctionType>@Nullable public net.morimekta.providence.descriptor.PStructDescriptor getArgumentsType()
getArgumentsType in interface net.morimekta.providence.descriptor.PField<FunctionType>@Nonnull public String getName()
getName in interface net.morimekta.providence.descriptor.PField<FunctionType>@Nonnull public String getPojoName()
getPojoName in interface net.morimekta.providence.descriptor.PField<FunctionType>public boolean hasDefaultValue()
hasDefaultValue in interface net.morimekta.providence.descriptor.PField<FunctionType>@Nullable public Object getDefaultValue()
getDefaultValue in interface net.morimekta.providence.descriptor.PField<FunctionType>@Nonnull public net.morimekta.providence.descriptor.PMessageDescriptor<FunctionType> onMessageType()
onMessageType in interface net.morimekta.providence.descriptor.PField<FunctionType>public String toString()
toString in class Enum<FunctionType._Field>public static FunctionType._Field findById(int id)
id - Field IDpublic static FunctionType._Field findByName(String name)
name - Field namepublic static FunctionType._Field findByPojoName(String name)
name - Field POJO namepublic static FunctionType._Field fieldForId(int id)
id - Field IDIllegalArgumentException - If no such fieldpublic static FunctionType._Field fieldForName(String name)
name - Field nameIllegalArgumentException - If no such fieldpublic static FunctionType._Field fieldForPojoName(String name)
name - Field POJO nameIllegalArgumentException - If no such fieldCopyright © 2015–2020 morimekta.net. All rights reserved.