Enum Class ElementStatus
- All Implemented Interfaces:
Serializable
,Comparable<ElementStatus>
,Constable
,OpenMetadataEnum
The ElementStatus defines the status of an element in the metadata collection. It effectively
defines its visibility to different types of queries. Most queries by default will only return instances not in the
deleted status.
- Unknown: Unknown instance status.
- Draft: The content is incomplete.
- Proposed: The content is in review.
- Approved: The content is approved.
- Rejected: The request or proposal is rejected.
- Approved concept: The request or proposal is approved for development.
- Under development: The instance is being developed.
- Development complete: The development of the instance is complete.
- Approved for deployment: The instance is approved for deployment.
- StandBy: The instance is deployed in standby mode.
- Active: The instance is approved and in use.
- Failed: The instance is not in use due to failure.
- Disabled: The instance is shutdown or disabled.
- Complete: The activity associated with the instance is complete.
- Deprecated: The instance is out of date and should not be used.
- Other: The instance is in a locally defined state.
- Deleted: The instance has been deleted and is waiting to be purged. It is kept in the metadata collection to support a restore request. It is not returned on normal queries.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe instance is approved and in use.The content is approved.The request or proposal is approved for development.The instance is approved for deployment.The activity associated with the instance is complete.The instance has been deleted and is no longer available.The instance is out of date and should not be used.The development of the instance is complete.The instance is shutdown or disabled.The content is incomplete.The instance is not in use due to failure.The instance is in a locally defined state.The content is ready for review.The content is in review.The request or proposal is rejected.The instance is deployed in standby mode.The instance is being developed.Unknown instance status. -
Method Summary
Modifier and TypeMethodDescriptionReturn the description for the enum.Return the unique identifier for the valid value that represents the enum value.getName()
Return the descriptive name for the enum.int
Return the numerical value for the enum.boolean
Return whether the enum is the default value or not.toString()
toString() JSON-stylestatic ElementStatus
Returns the enum constant of this class with the specified name.static ElementStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Unknown instance status. -
DRAFT
The content is incomplete. -
PREPARED
The content is ready for review. -
PROPOSED
The content is in review. -
APPROVED
The content is approved. -
REJECTED
The request or proposal is rejected. -
APPROVED_CONCEPT
The request or proposal is approved for development. -
UNDER_DEVELOPMENT
The instance is being developed. -
DEVELOPMENT_COMPLETE
The development of the instance is complete. -
APPROVED_FOR_DEPLOYMENT
The instance is approved for deployment. -
STANDBY
The instance is deployed in standby mode. -
ACTIVE
The instance is approved and in use. -
FAILED
The instance is not in use due to failure. -
DISABLED
The instance is shutdown or disabled. -
COMPLETE
The activity associated with the instance is complete. -
DEPRECATED
The instance is out of date and should not be used. -
DELETED
The instance has been deleted and is no longer available. -
OTHER
The instance is in a locally defined state.
-
-
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 numerical value for the enum.- Specified by:
getOrdinal
in interfaceOpenMetadataEnum
- Returns:
- int enum value ordinal
-
getName
Return the descriptive name for the enum.- Specified by:
getName
in interfaceOpenMetadataEnum
- Returns:
- String name
-
getDescription
Return the description for the enum.- Specified by:
getDescription
in interfaceOpenMetadataEnum
- Returns:
- String description
-
getDescriptionGUID
Return the unique identifier for the valid value that represents the enum value.- Specified by:
getDescriptionGUID
in interfaceOpenMetadataEnum
- Returns:
- guid
-
isDefault
public boolean isDefault()Return whether the enum is the default value or not.- Specified by:
isDefault
in interfaceOpenMetadataEnum
- Returns:
- boolean
-
toString
toString() JSON-style- Overrides:
toString
in classEnum<ElementStatus>
- Returns:
- string description
-