Enum ConfidentialityLevel
- java.lang.Object
-
- java.lang.Enum<ConfidentialityLevel>
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.enums.ConfidentialityLevel
-
- All Implemented Interfaces:
Serializable,Comparable<ConfidentialityLevel>
public enum ConfidentialityLevel extends Enum<ConfidentialityLevel> implements Serializable
Defines how confidential a data item is.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ConfidentialThe data should be protected and only shared with people with a need to see it.InternalThe data should not be exposed outside of this organization.OtherAnother confidentially level.RestrictedThe data is very valuable and must be restricted to a very small number of people.SensitiveThe data is sensitive and inappropriate use may adversely impact the data subject.UnclassifiedThe data is public information.
-
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 ConfidentialityLevel enum instanceintgetOrdinal()Return the numerical value for the enum.static ConfidentialityLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static ConfidentialityLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unclassified
public static final ConfidentialityLevel Unclassified
The data is public information.
-
Internal
public static final ConfidentialityLevel Internal
The data should not be exposed outside of this organization.
-
Confidential
public static final ConfidentialityLevel Confidential
The data should be protected and only shared with people with a need to see it.
-
Sensitive
public static final ConfidentialityLevel Sensitive
The data is sensitive and inappropriate use may adversely impact the data subject.
-
Restricted
public static final ConfidentialityLevel Restricted
The data is very valuable and must be restricted to a very small number of people.
-
Other
public static final ConfidentialityLevel Other
Another confidentially level.
-
-
Method Detail
-
values
public static ConfidentialityLevel[] 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 (ConfidentialityLevel c : ConfidentialityLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfidentialityLevel 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 ConfidentialityLevel enum instance- Returns:
- String name
-
-