public enum AssetType extends Enum<AssetType> implements com.orchestranetworks.addon.dpra.ReferenceBean
Enum Constant and Description |
---|
DATASET
Dataset
|
DATASPACE
Dataspace
|
FIELD
Field
|
TABLE
Table
|
WORKFLOW
Workflow
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Returns the unique code.
|
com.onwbp.base.text.UserMessage |
getLabel()
Returns the asset's label.
|
boolean |
isDataset()
Returns
true if the type is dataset. |
boolean |
isDataspace()
Returns
true if the type is dataspace. |
boolean |
isField()
Returns
true if the type is field. |
boolean |
isTable()
Returns
true if the type is table. |
boolean |
isWorkflow()
Returns
true if the type is workflow. |
static AssetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetType DATASPACE
public static final AssetType DATASET
public static final AssetType TABLE
public static final AssetType FIELD
public static final AssetType WORKFLOW
public static AssetType[] values()
for (AssetType c : AssetType.values()) System.out.println(c);
public static AssetType 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 getCode()
getCode
in interface com.orchestranetworks.addon.dpra.ReferenceBean
public com.onwbp.base.text.UserMessage getLabel()
getLabel
in interface com.orchestranetworks.addon.dpra.ReferenceBean
public boolean isDataspace()
true
if the type is dataspace.public boolean isDataset()
true
if the type is dataset.public boolean isTable()
true
if the type is table.public boolean isField()
true
if the type is field.public boolean isWorkflow()
true
if the type is workflow.