public enum ModelMethodType extends Enum<ModelMethodType>
| Modifier and Type | Method and Description |
|---|---|
static ModelMethodType |
deduceMethodType(String name,
GetterFor getter,
SetterFor setter,
DeleterFor deleter) |
static String |
deducePropertyName(String name,
GetterFor getter,
SetterFor setter,
DeleterFor deleter) |
String |
getDefaultName(String propertyName) |
boolean |
isDefaultName(String methodName,
String propertyName) |
static ModelMethodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelMethodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelMethodType GET
public static final ModelMethodType SET
public static final ModelMethodType ADD
public static final ModelMethodType ADD_ALL
public static final ModelMethodType REMOVE
public static final ModelMethodType CLEAR
public static ModelMethodType[] values()
for (ModelMethodType c : ModelMethodType.values()) System.out.println(c);
public static ModelMethodType 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 static String deducePropertyName(String name, GetterFor getter, SetterFor setter, DeleterFor deleter)
public static ModelMethodType deduceMethodType(String name, GetterFor getter, SetterFor setter, DeleterFor deleter)
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.