public enum AnnotationStatus extends Enum<AnnotationStatus> implements Serializable
| Enum Constant and Description |
|---|
ACTIONED_ANNOTATION |
APPROVED_ANNOTATION |
IGNORE_ANNOTATION |
INVALID_ANNOTATION |
NEW_ANNOTATION |
OTHER_STATUS |
REVIEWED_ANNOTATION |
UNKNOWN_STATUS |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description for the status for this enum instance.
|
String |
getName()
Return the default name for the status for this enum instance.
|
int |
getOrdinal()
Return the status code for this enum instance
|
String |
toString()
Standard toString method.
|
static AnnotationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationStatus NEW_ANNOTATION
public static final AnnotationStatus REVIEWED_ANNOTATION
public static final AnnotationStatus APPROVED_ANNOTATION
public static final AnnotationStatus ACTIONED_ANNOTATION
public static final AnnotationStatus INVALID_ANNOTATION
public static final AnnotationStatus IGNORE_ANNOTATION
public static final AnnotationStatus OTHER_STATUS
public static final AnnotationStatus UNKNOWN_STATUS
public static AnnotationStatus[] values()
for (AnnotationStatus c : AnnotationStatus.values()) System.out.println(c);
public static AnnotationStatus 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 int getOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<AnnotationStatus>Copyright © 2018–2020 ODPi. All rights reserved.