Enum Class TermAssignmentStatus
java.lang.Object
java.lang.Enum<TermAssignmentStatus>
org.odpi.openmetadata.accessservices.assetmanager.properties.TermAssignmentStatus
- All Implemented Interfaces:
Serializable,Comparable<TermAssignmentStatus>,Constable
The TermAssignmentStatus defines the status of the relationship between a glossary term and an element that represents data.
It indicates how much trust a steward or process should give to the relationship based on its source.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated - The term assignment is out of date and should not be used.Discovered - The term assignment was discovered by an automated process.Imported - The term assignment was imported from another metadata system.Obsolete - The term assignment must no longer be used.Other - The term assignment is in a locally defined state.Proposed - The term assignment was proposed by a subject-matter expert.Validated - The term assignment has been validated and approved by a subject-matter expert. -
Method Summary
Modifier and TypeMethodDescriptionReturn the default description for the key pattern for this enum instance.getName()Return the default name for this enum instance.intReturn the code for this enum that comes from the Open Metadata Type that this enum represents.intReturn the code for this enum instancetoString()toString() JSON-stylestatic TermAssignmentStatusReturns the enum constant of this class with the specified name.static TermAssignmentStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
DISCOVERED
Discovered - The term assignment was discovered by an automated process. -
PROPOSED
Proposed - The term assignment was proposed by a subject-matter expert. -
IMPORTED
Imported - The term assignment was imported from another metadata system. -
VALIDATED
Validated - The term assignment has been validated and approved by a subject-matter expert. -
DEPRECATED
Deprecated - The term assignment is out of date and should not be used. -
OBSOLETE
Obsolete - The term assignment must no longer be used. -
OTHER
Other - The term assignment is in a locally defined state.
-
-
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 code for this enum instance- Returns:
- int key pattern code
-
getOpenTypeOrdinal
public int getOpenTypeOrdinal()Return the code for this enum that comes from the Open Metadata Type that this enum represents.- Returns:
- int code number
-
getName
Return the default name for this enum instance.- Returns:
- String default name
-
getDescription
Return the default description for the key pattern for this enum instance.- Returns:
- String default description
-
toString
toString() JSON-style- Overrides:
toStringin classEnum<TermAssignmentStatus>- Returns:
- string description
-