|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Style>
org.dishevelled.codegen.Style
public enum Style
Source code generation style.
Feature summary:
| Consideration | Immutable | ImmutableWithCopyMutators | Mutable | RichlyMutable | ExtendedRichlyMutable | Unsafe |
|---|---|---|---|---|---|---|
| final field | X | X | ||||
| final collection field | X | X | X | X | X | |
| final class | X | X | ||||
| defensive copy | X | X | X | X | X | |
| unmodifiable at creation | X | X | ||||
| unmodifiable at access | X | X | X | |||
| get method | X | X | X | X | X | X |
| set method | X | X | X | X | ||
| set collection method | X | |||||
| with copy mutator | X | |||||
| has method | X | |||||
| add method | X | X | X | |||
| add... method | X | |||||
| addAll method | X | X | ||||
| remove method | X | X | X | |||
| remove... method | X | |||||
| removeAll method | X | X | ||||
| retainAll method | X | X | ||||
| clear method | X | X | ||||
| final methods | X | X | X | |||
| default constructor | ||||||
| required argument only constructor | X | X | X | X | ||
| full argument constructor | X | X | X | X | X | X |
| override toString and hashCode | X | X | X | X |
| Enum Constant Summary | |
|---|---|
Exception
Exception source code generation style. |
|
ExtendedRichlyMutable
Richly mutable source code generation style with a few additional methods per attribute and association. |
|
Immutable
Immutable source code generation style. |
|
ImmutableWithCopyMutators
Immutable with copy mutators source code generation style. |
|
Mutable
Mutable source code generation style. |
|
MutableBean
Mutable bean source code generation style, with property change support. |
|
RichlyMutable
Richly mutable source code generation style. |
|
RuntimeException
RuntimeException source code generation style. |
|
Unsafe
Unsafe source code generation style. |
|
| Method Summary | |
|---|---|
static Style |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Style[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Style Immutable
public static final Style ImmutableWithCopyMutators
public static final Style Mutable
public static final Style MutableBean
public static final Style RichlyMutable
public static final Style ExtendedRichlyMutable
TODO: come up with a more appropriate name for this value
public static final Style Unsafe
public static final Style Exception
public static final Style RuntimeException
| Method Detail |
|---|
public static Style[] values()
for (Style c : Style.values()) System.out.println(c);
public static Style valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||