Enum TermRelationshipStatus
- java.lang.Object
-
- java.lang.Enum<TermRelationshipStatus>
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.enums.TermRelationshipStatus
-
- All Implemented Interfaces:
Serializable,Comparable<TermRelationshipStatus>
public enum TermRelationshipStatus extends Enum<TermRelationshipStatus> implements Serializable
Defines the confidence in the assigned relationship.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ActiveThe term relationship is approved and in use.DeprecatedThe term relationship should no longer be used.DraftThe term relationship is in development.ObsoleteThe term relationship must no longer be used.OtherAnother term relationship status.
-
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 TermRelationshipStatus enum instanceintgetOrdinal()Return the numerical value for the enum.static TermRelationshipStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static TermRelationshipStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Draft
public static final TermRelationshipStatus Draft
The term relationship is in development.
-
Active
public static final TermRelationshipStatus Active
The term relationship is approved and in use.
-
Deprecated
public static final TermRelationshipStatus Deprecated
The term relationship should no longer be used.
-
Obsolete
public static final TermRelationshipStatus Obsolete
The term relationship must no longer be used.
-
Other
public static final TermRelationshipStatus Other
Another term relationship status.
-
-
Method Detail
-
values
public static TermRelationshipStatus[] 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 (TermRelationshipStatus c : TermRelationshipStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TermRelationshipStatus 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 TermRelationshipStatus enum instance- Returns:
- String name
-
-