public enum GovernanceDefinitionStatus extends Enum<GovernanceDefinitionStatus> implements Serializable
| Enum Constant and Description |
|---|
ACTIVE |
DEPRECATED |
DRAFT |
OTHER |
PROPOSED |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description of the instance provenance type.
|
String |
getName()
Return the default name of the instance provenance type.
|
int |
getOrdinal()
Return the numeric representation of the instance provenance type.
|
String |
toString()
toString() JSON-style
|
static GovernanceDefinitionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GovernanceDefinitionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GovernanceDefinitionStatus DRAFT
public static final GovernanceDefinitionStatus PROPOSED
public static final GovernanceDefinitionStatus ACTIVE
public static final GovernanceDefinitionStatus DEPRECATED
public static final GovernanceDefinitionStatus OTHER
public static GovernanceDefinitionStatus[] values()
for (GovernanceDefinitionStatus c : GovernanceDefinitionStatus.values()) System.out.println(c);
public static GovernanceDefinitionStatus 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 getName()
public String getDescription()
public String toString()
toString in class Enum<GovernanceDefinitionStatus>Copyright © 2018–2020 ODPi. All rights reserved.