public enum Aspect extends Enum<Aspect>
This is an enumeration of all possible aspects.
Enum Constant and Description |
---|
EXPOSED
The exposed part of the bean.
|
IMPLEMENTATION
The part of the bean that holds all the implementations.
|
Modifier and Type | Method and Description |
---|---|
static Aspect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Aspect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Aspect EXPOSED
This corresponds to the content interface when we are geneting one.
This would be the same as the IMPLEMENTATION
when we are
just generating beans.
This could be an interface, or it could be a class.
We don't have any other ImplStructureStrategy
at this point,
but generally you can't assume anything about where this could be
or whether that's equal to IMPLEMENTATION
.
public static final Aspect IMPLEMENTATION
This is always a class, never an interface.
public static Aspect[] values()
for (Aspect c : Aspect.values()) System.out.println(c);
public static Aspect 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 nullCopyright © 2017 JBoss by Red Hat. All rights reserved.