public static enum DataEntity.ModelType extends Enum<DataEntity.ModelType>
The data entity type.
| Enum Constant and Description |
|---|
FileEntity |
TableEntity |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this
version of the SDK.
|
ViewEntity |
| Modifier and Type | Method and Description |
|---|---|
static DataEntity.ModelType |
create(String key) |
String |
getValue() |
static DataEntity.ModelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataEntity.ModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataEntity.ModelType ViewEntity
public static final DataEntity.ModelType TableEntity
public static final DataEntity.ModelType FileEntity
public static final DataEntity.ModelType UnknownEnumValue
public static DataEntity.ModelType[] values()
for (DataEntity.ModelType c : DataEntity.ModelType.values()) System.out.println(c);
public static DataEntity.ModelType 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 String getValue()
public static DataEntity.ModelType create(String key)
Copyright © 2016–2021. All rights reserved.