Enum Class AnnotationStatus
java.lang.Object
java.lang.Enum<AnnotationStatus>
org.odpi.openmetadata.frameworks.surveyaction.properties.AnnotationStatus
- All Implemented Interfaces:
Serializable
,Comparable<AnnotationStatus>
,Constable
An AnnotationStatus defines the current status for an annotation plus some default descriptive text.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAnnotation has been approved and insight has been added to Asset's metadata.Annotation has been approved.Annotation is invalid and should be ignored.Annotation has been reviewed and declared invalid.Annotation has been created but not reviewed.Annotation's status stored in additional propertiesAnnotation has been reviewed by no decision has been made.Annotation has not had a status assigned -
Method Summary
Modifier and TypeMethodDescriptionReturn the default description for the status for this enum instance.Return the unique identifier fort the valid value for the status for this enum instance.getName()
Return the default name for the status for this enum instance.static String
Return the description for the open metadata enum type that this enum class represents.static String
Return the unique identifier of the valid value for the open metadata enum type that this enum class represents.static String
Return the unique identifier for the open metadata enum type that this enum class represents.static String
Return the unique name for the open metadata enum type that this enum class represents.static String
Return the description for the open metadata enum type that this enum class represents.int
Return the status code for this enum instancetoString()
Standard toString method.static AnnotationStatus
Returns the enum constant of this class with the specified name.static AnnotationStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW_ANNOTATION
Annotation has been created but not reviewed. -
REVIEWED_ANNOTATION
Annotation has been reviewed by no decision has been made. -
APPROVED_ANNOTATION
Annotation has been approved. -
ACTIONED_ANNOTATION
Annotation has been approved and insight has been added to Asset's metadata. -
INVALID_ANNOTATION
Annotation has been reviewed and declared invalid. -
IGNORE_ANNOTATION
Annotation is invalid and should be ignored. -
OTHER_STATUS
Annotation's status stored in additional properties -
UNKNOWN_STATUS
Annotation has not had a status assigned
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getOrdinal
public int getOrdinal()Return the status code for this enum instance- Returns:
- int status code
-
getName
Return the default name for the status for this enum instance.- Returns:
- String default status name
-
getDescription
Return the default description for the status for this enum instance.- Returns:
- String default status description
-
getDescriptionGUID
Return the unique identifier fort the valid value for the status for this enum instance.- Returns:
- String default status description
-
getOpenTypeGUID
Return the unique identifier for the open metadata enum type that this enum class represents.- Returns:
- string guid
-
getOpenTypeName
Return the unique name for the open metadata enum type that this enum class represents.- Returns:
- string name
-
getOpenTypeDescription
Return the description for the open metadata enum type that this enum class represents.- Returns:
- string text
-
getOpenTypeDescriptionGUID
Return the unique identifier of the valid value for the open metadata enum type that this enum class represents.- Returns:
- string guid
-
getOpenTypeWikiURL
Return the description for the open metadata enum type that this enum class represents.- Returns:
- string url
-
toString
Standard toString method.- Overrides:
toString
in classEnum<AnnotationStatus>
- Returns:
- print out of variables in a JSON-style
-