public static enum SettersPlugin.Mode extends Enum<SettersPlugin.Mode>
Modifier and Type | Method and Description |
---|---|
abstract void |
generateSetter(com.sun.tools.xjc.outline.FieldOutline fieldOutline,
com.sun.codemodel.JDefinedClass theClass,
com.sun.codemodel.JMethod setter,
com.sun.codemodel.JVar value) |
static SettersPlugin.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SettersPlugin.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SettersPlugin.Mode accessor
public static final SettersPlugin.Mode direct
public static SettersPlugin.Mode[] values()
for (SettersPlugin.Mode c : SettersPlugin.Mode.values()) System.out.println(c);
public static SettersPlugin.Mode 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 abstract void generateSetter(com.sun.tools.xjc.outline.FieldOutline fieldOutline, com.sun.codemodel.JDefinedClass theClass, com.sun.codemodel.JMethod setter, com.sun.codemodel.JVar value)
Copyright © 2005–2018. All rights reserved.