Enum Class RetentionBasis
java.lang.Object
java.lang.Enum<RetentionBasis>
org.odpi.openmetadata.accessservices.subjectarea.properties.enums.RetentionBasis
- All Implemented Interfaces:
Serializable
,Comparable<RetentionBasis>
,Constable
Defines the retention requirements associated with a data item.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe data is needed for the lifetime of the referenced contract.Another basis for determining the retention requirement.The data is needed for the lifetime of the referenced project.The retention period for the data is defined by the referenced regulation.The data is needed for the lifetime of the referenced team.This data is temporary.The data is needed for the specified time.There is no assessment of the retention requirements for this data. -
Method Summary
Modifier and TypeMethodDescriptionReturn the description for the enum.getName()
Return the descriptive name for the RetentionBasis enum instanceint
Return the numerical value for the enum.static RetentionBasis
Returns the enum constant of this class with the specified name.static RetentionBasis[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Unclassified
There is no assessment of the retention requirements for this data. -
Temporary
This data is temporary. -
ProjectLifetime
The data is needed for the lifetime of the referenced project. -
TeamLifetime
The data is needed for the lifetime of the referenced team. -
ContractLifetime
The data is needed for the lifetime of the referenced contract. -
RegulatedLifetime
The retention period for the data is defined by the referenced regulation. -
TimeBoxedLifetime
The data is needed for the specified time. -
Other
Another basis for determining the retention requirement.
-
-
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.- Returns:
- int enum value ordinal
-
getDescription
Return the description for the enum.- Returns:
- String description
-
getName
Return the descriptive name for the RetentionBasis enum instance- Returns:
- String name
-