Enum CriticalityLevel
- java.lang.Object
-
- java.lang.Enum<CriticalityLevel>
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.enums.CriticalityLevel
-
- All Implemented Interfaces:
Serializable,Comparable<CriticalityLevel>
public enum CriticalityLevel extends Enum<CriticalityLevel> implements Serializable
Defines how important a data item is to the organization.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CatastrophicThe data is so important that its loss is catastrophic putting the future of the organization in doubt.CriticalThe data is critical to the operation of the organization.ImportantThe data is important to the running of the organization.MarginalThe data is of minor importance to the organization.OtherAnother criticality level.UnclassifiedThere is no assessment of the criticality of this data.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Return the description for the enum.StringgetName()Return the descriptive name for the CriticalityLevel enum instanceintgetOrdinal()Return the numerical value for the enum.static CriticalityLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static CriticalityLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unclassified
public static final CriticalityLevel Unclassified
There is no assessment of the criticality of this data.
-
Marginal
public static final CriticalityLevel Marginal
The data is of minor importance to the organization.
-
Important
public static final CriticalityLevel Important
The data is important to the running of the organization.
-
Critical
public static final CriticalityLevel Critical
The data is critical to the operation of the organization.
-
Catastrophic
public static final CriticalityLevel Catastrophic
The data is so important that its loss is catastrophic putting the future of the organization in doubt.
-
Other
public static final CriticalityLevel Other
Another criticality level.
-
-
Method Detail
-
values
public static CriticalityLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CriticalityLevel c : CriticalityLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CriticalityLevel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
public String getDescription()
Return the description for the enum.- Returns:
- String description
-
getName
public String getName()
Return the descriptive name for the CriticalityLevel enum instance- Returns:
- String name
-
-