Enum TermAssignmentStatus
- java.lang.Object
-
- java.lang.Enum<TermAssignmentStatus>
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.enums.TermAssignmentStatus
-
- All Implemented Interfaces:
Serializable,Comparable<TermAssignmentStatus>
public enum TermAssignmentStatus extends Enum<TermAssignmentStatus> implements Serializable
Defines the provenance and confidence of a term assignment.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DeprecatedThe term assignment should no longer be used.DiscoveredThe term assignment was discovered by an automated process.ImportedThe term assignment was imported from another metadata system.ObsoleteThe term assignment must no longer be used.OtherAnother term assignment status.ProposedThe term assignment was proposed by a subject matter expert.ValidatedThe term assignment has been validated and approved by a subject matter expert.
-
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 TermAssignmentStatus enum instanceintgetOrdinal()Return the numerical value for the enum.static TermAssignmentStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static TermAssignmentStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Discovered
public static final TermAssignmentStatus Discovered
The term assignment was discovered by an automated process.
-
Proposed
public static final TermAssignmentStatus Proposed
The term assignment was proposed by a subject matter expert.
-
Imported
public static final TermAssignmentStatus Imported
The term assignment was imported from another metadata system.
-
Validated
public static final TermAssignmentStatus Validated
The term assignment has been validated and approved by a subject matter expert.
-
Deprecated
public static final TermAssignmentStatus Deprecated
The term assignment should no longer be used.
-
Obsolete
public static final TermAssignmentStatus Obsolete
The term assignment must no longer be used.
-
Other
public static final TermAssignmentStatus Other
Another term assignment status.
-
-
Method Detail
-
values
public static TermAssignmentStatus[] 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 (TermAssignmentStatus c : TermAssignmentStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TermAssignmentStatus 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 TermAssignmentStatus enum instance- Returns:
- String name
-
-