public enum TermRelationshipStatus extends Enum<TermRelationshipStatus> implements Serializable
| Enum Constant and Description |
|---|
Active
The term relationship is approved and in use.
|
Deprecated
The term relationship should no longer be used.
|
Draft
The term relationship is in development.
|
Obsolete
The term relationship must no longer be used.
|
Other
Another term relationship status.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the description for the enum.
|
String |
getName()
Return the descriptive name for the TermRelationshipStatus enum instance
|
int |
getOrdinal()
Return the numerical value for the enum.
|
static TermRelationshipStatus |
valueOf(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.
|
public static final TermRelationshipStatus Draft
public static final TermRelationshipStatus Active
public static final TermRelationshipStatus Deprecated
public static final TermRelationshipStatus Obsolete
public static final TermRelationshipStatus Other
public static TermRelationshipStatus[] values()
for (TermRelationshipStatus c : TermRelationshipStatus.values()) System.out.println(c);
public static TermRelationshipStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getOrdinal()
public String getDescription()
public String getName()
Copyright © 2018–2020 ODPi. All rights reserved.