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