public enum OwnerType extends Enum<OwnerType> implements Serializable
| Enum Constant and Description |
|---|
OTHER |
PROFILE_ID |
USER_ID |
| Modifier and Type | Field and Description |
|---|---|
static String |
ENUM_TYPE_GUID |
static String |
ENUM_TYPE_NAME |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description of the enumeration.
|
String |
getName()
Return the default name of the enumeration.
|
String |
getOpenTypeGUID()
Return the unique identifier for the open metadata enum type that this enum class represents.
|
String |
getOpenTypeName()
Return the unique name for the open metadata enum type that this enum class represents.
|
int |
getOpenTypeOrdinal()
Return the code for this enum that comes from the Open Metadata Type that this enum represents.
|
int |
getOrdinal()
Return the numeric representation of the enumeration.
|
String |
toString()
toString() JSON-style
|
static OwnerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OwnerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OwnerType USER_ID
public static final OwnerType PROFILE_ID
public static final OwnerType OTHER
public static final String ENUM_TYPE_GUID
public static final String ENUM_TYPE_NAME
public static OwnerType[] values()
for (OwnerType c : OwnerType.values()) System.out.println(c);
public static OwnerType 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 int getOpenTypeOrdinal()
public String getOpenTypeGUID()
public String getOpenTypeName()
Copyright © 2018–2020 ODPi. All rights reserved.