public enum MethodConvention extends Enum<MethodConvention>
Enum Constant and Description |
---|
ADD |
CONTAINS |
DELETE_BY |
EDIT |
GET |
GET_BY |
GET_LOCALIZED |
HAS |
RANDOM_GETTER |
REMOVE |
REMOVE_ALL |
SET |
WITH |
Modifier and Type | Method and Description |
---|---|
String |
build(String name) |
String |
getPrefix() |
String |
getSuffix() |
void |
setPrefix(String prefix) |
void |
setSuffix(String suffix) |
static MethodConvention |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodConvention[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodConvention GET
public static final MethodConvention SET
public static final MethodConvention ADD
public static final MethodConvention WITH
public static final MethodConvention EDIT
public static final MethodConvention CONTAINS
public static final MethodConvention GET_BY
public static final MethodConvention DELETE_BY
public static final MethodConvention REMOVE
public static final MethodConvention REMOVE_ALL
public static final MethodConvention HAS
public static final MethodConvention GET_LOCALIZED
public static final MethodConvention RANDOM_GETTER
public static MethodConvention[] values()
for (MethodConvention c : MethodConvention.values()) System.out.println(c);
public static MethodConvention 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 void setPrefix(String prefix)
public void setSuffix(String suffix)
public String getPrefix()
public String getSuffix()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.