Enum AssetType

java.lang.Object
java.lang.Enum<AssetType>
com.orchestranetworks.addon.dpra.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
  • Enum Constant Details

    • DATASPACE

      public static final AssetType DATASPACE
      Dataspace
    • DATASET

      public static final AssetType DATASET
      Dataset
    • TABLE

      public static final AssetType TABLE
      Table
    • FIELD

      public static final AssetType FIELD
      Field
    • WORKFLOW

      public static final AssetType WORKFLOW
      Workflow
  • Method Details

    • values

      public static AssetType[] 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

      public static AssetType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
      Returns the unique code.
      Specified by:
      getCode in interface com.orchestranetworks.addon.dpra.ReferenceBean
    • getLabel

      public com.onwbp.base.text.UserMessage getLabel()
      Returns the asset's label.
      Specified by:
      getLabel in interface com.orchestranetworks.addon.dpra.ReferenceBean
    • isDataspace

      public boolean isDataspace()
      Returns true if the type is dataspace.
    • isDataset

      public boolean isDataset()
      Returns true if the type is dataset.
    • isTable

      public boolean isTable()
      Returns true if the type is table.
    • isField

      public boolean isField()
      Returns true if the type is field.
    • isWorkflow

      public boolean isWorkflow()
      Returns true if the type is workflow.