public enum AnnotationRole extends Enum<AnnotationRole>
Enum Constant and Description |
---|
INITIAL_ASSERTION
The information assertion is the first in the chain (if this is applied
to an annotation that isn't the earliest in its chain it should be
treated as a validation failure)
|
REFINEMENT
The information assertion was added to the chain to refine the existing
annotation assertion or assertions, such as cases where a generic
description exists which can be specialized in a particular instance but
where the original more generic form is still correct
|
REPLACEMENT
The information assertion was added to the chain in order to override an
earlier information assertion which was regarded as incorrect.
|
Modifier and Type | Method and Description |
---|---|
static AnnotationRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationRole INITIAL_ASSERTION
public static final AnnotationRole REFINEMENT
public static final AnnotationRole REPLACEMENT
public static AnnotationRole[] values()
for (AnnotationRole c : AnnotationRole.values()) System.out.println(c);
public static AnnotationRole 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 © 2015–2016 The Apache Software Foundation. All rights reserved.