Package com.orchestranetworks.addon.dpra
Enum AssetType
- All Implemented Interfaces:
com.orchestranetworks.addon.dpra.ReferenceBean
,Serializable
,Comparable<AssetType>
,Constable
public enum AssetType
extends Enum<AssetType>
implements com.orchestranetworks.addon.dpra.ReferenceBean
Types of assets available.
- Since:
- 4.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Returns the unique code.com.onwbp.base.text.UserMessage
getLabel()
Returns the asset's label.boolean
Returnstrue
if the type is dataset.boolean
Returnstrue
if the type is dataspace.boolean
isField()
Returnstrue
if the type is field.boolean
isTable()
Returnstrue
if the type is table.boolean
Returnstrue
if the type is workflow.static AssetType
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.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
DATASPACE
Dataspace -
DATASET
Dataset -
TABLE
Table -
FIELD
Field -
WORKFLOW
Workflow
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
Returns the unique code.- Specified by:
getCode
in interfacecom.orchestranetworks.addon.dpra.ReferenceBean
-
getLabel
public com.onwbp.base.text.UserMessage getLabel()Returns the asset's label.- Specified by:
getLabel
in interfacecom.orchestranetworks.addon.dpra.ReferenceBean
-
isDataspace
public boolean isDataspace()Returnstrue
if the type is dataspace. -
isDataset
public boolean isDataset()Returnstrue
if the type is dataset. -
isTable
public boolean isTable()Returnstrue
if the type is table. -
isField
public boolean isField()Returnstrue
if the type is field. -
isWorkflow
public boolean isWorkflow()Returnstrue
if the type is workflow.
-