Enum Class DataContractQualityDimension
java.lang.Object
java.lang.Enum<DataContractQualityDimension>
org.odpi.openmetadata.frameworks.integration.bitol.odcs.DataContractQualityDimension
- All Implemented Interfaces:
Serializable,Comparable<DataContractQualityDimension>,Constable
DataContractQualityDimension lists the data quality dimensions used in an ODCS data contract.
The Bitol standards carry these values as strings, and permit additional values, so the beans hold the
string and this enumeration documents the standard values and provides a lookup.
-
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 correctly describes the real world.All required data is present.The data follows the required formats and standards.The data does not contradict itself or related data.The data covers the required population.The data is available when it is needed.There are no unwanted duplicates. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataContractQualityDimensionReturn the enumeration that matches the supplied document value (case-insensitive).Return the description of the meaning of the value.getValue()Return the string used in the document.toString()Standard toString method.static DataContractQualityDimensionReturns the enum constant of this class with the specified name.static DataContractQualityDimension[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCURACY
The data correctly describes the real world. -
COMPLETENESS
All required data is present. -
CONFORMITY
The data follows the required formats and standards. -
CONSISTENCY
The data does not contradict itself or related data. -
COVERAGE
The data covers the required population. -
TIMELINESS
The data is available when it is needed. -
UNIQUENESS
There are no unwanted duplicates.
-
-
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
-
getValue
Return the string used in the document.- Returns:
- string value
-
getDescription
Return the description of the meaning of the value.- Returns:
- string description
-
fromValue
Return the enumeration that matches the supplied document value (case-insensitive).- Parameters:
value- string from the document- Returns:
- matching enumeration or null if the value is not one of the standard values
-
toString
Standard toString method.- Overrides:
toStringin classEnum<DataContractQualityDimension>- Returns:
- print out of variables in a JSON-style
-