Enum ConfidenceLevel
- java.lang.Object
-
- java.lang.Enum<ConfidenceLevel>
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.enums.ConfidenceLevel
-
- All Implemented Interfaces:
Serializable,Comparable<ConfidenceLevel>
public enum ConfidenceLevel extends Enum<ConfidenceLevel> implements Serializable
Defines the level of confidence to place in the accuracy of a data item.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AdHocThe data comes from an ad hoc process.AuthoritativeThe data comes from an authoritative source.DerivedThe data is derived from other data through an analytical process.ObsoleteThe data comes from an obsolete source and must no longer be used.OtherAnother confidence level.TransactionalThe data comes from a transactional system so it may have a narrow scope.UnclassifiedThere is no assessment of the confidence level 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 ConfidenceLevel enum instanceintgetOrdinal()Return the numerical value for the enum.static ConfidenceLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static ConfidenceLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unclassified
public static final ConfidenceLevel Unclassified
There is no assessment of the confidence level of this data.
-
AdHoc
public static final ConfidenceLevel AdHoc
The data comes from an ad hoc process.
-
Transactional
public static final ConfidenceLevel Transactional
The data comes from a transactional system so it may have a narrow scope.
-
Authoritative
public static final ConfidenceLevel Authoritative
The data comes from an authoritative source.
-
Derived
public static final ConfidenceLevel Derived
The data is derived from other data through an analytical process.
-
Obsolete
public static final ConfidenceLevel Obsolete
The data comes from an obsolete source and must no longer be used.
-
Other
public static final ConfidenceLevel Other
Another confidence level.
-
-
Method Detail
-
values
public static ConfidenceLevel[] 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 (ConfidenceLevel c : ConfidenceLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfidenceLevel 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 ConfidenceLevel enum instance- Returns:
- String name
-
-