public static enum ComponentStereotype.ComponentAnnotationType extends java.lang.Enum<ComponentStereotype.ComponentAnnotationType>
For example we could have @UESService
annotation that is used to
mark service interfaces, than we could have @UESServiceClient
annotation that is used to mark the Service implementations on client side.
The type is used during component initialization to check the validity of
component realization with conjunction with
ComponentStereotype#realizationAnnotations()
.
Enum Constant and Description |
---|
IMPLEMENTATION
This type of component annotation could be used only to mark
component implementations.
|
INTERFACE
This type of component annotation could be used only to mark component
interfaces.
|
INTERFACE_AND_IMPLEMENTATION
This type of component annotation could be used to mark
both - component interfaces and implementations.
|
Modifier and Type | Method and Description |
---|---|
static ComponentStereotype.ComponentAnnotationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComponentStereotype.ComponentAnnotationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
for (ComponentStereotype.ComponentAnnotationType c : ComponentStereotype.ComponentAnnotationType.values()) System.out.println(c);
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null