org.jvnet.jaxb2_commons.plugin.fluent_api
Enum FluentMethodType
java.lang.Object
java.lang.Enum<FluentMethodType>
org.jvnet.jaxb2_commons.plugin.fluent_api.FluentMethodType
- All Implemented Interfaces:
- Serializable, Comparable<FluentMethodType>
public enum FluentMethodType
- extends Enum<FluentMethodType>
- Author:
- Hanson Char
FLUENT_SETTER
public static final FluentMethodType FLUENT_SETTER
FLUENT_LIST_SETTER
public static final FluentMethodType FLUENT_LIST_SETTER
FLUENT_COLLECTION_SETTER
public static final FluentMethodType FLUENT_COLLECTION_SETTER
GETTER_METHOD_PREFIX
public static final String GETTER_METHOD_PREFIX
- See Also:
- Constant Field Values
SETTER_METHOD_PREFIX
public static final String SETTER_METHOD_PREFIX
- See Also:
- Constant Field Values
FLUENT_SETTER_METHOD_PREFIX
public static final String FLUENT_SETTER_METHOD_PREFIX
- See Also:
- Constant Field Values
PARAMETERIZED_LIST_PREFIX
public static final String PARAMETERIZED_LIST_PREFIX
SETTER_METHOD_PREFIX_LEN
public static final int SETTER_METHOD_PREFIX_LEN
GETTER_METHOD_PREFIX_LEN
public static final int GETTER_METHOD_PREFIX_LEN
values
public static FluentMethodType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FluentMethodType c : FluentMethodType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FluentMethodType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
createFluentMethod
public abstract void createFluentMethod(com.sun.codemodel.JDefinedClass implClass,
FluentMethodInfo fluentMethodInfo)
Copyright © 2013. All Rights Reserved.