Enum Class Asset.AssetGroupRole

java.lang.Object
java.lang.Enum<Asset.AssetGroupRole>
mc.core.model.asset.Asset.AssetGroupRole
All Implemented Interfaces:
Serializable, Comparable<Asset.AssetGroupRole>, Constable
Enclosing class:
Asset

public static enum Asset.AssetGroupRole extends Enum<Asset.AssetGroupRole>
  • Enum Constant Details

    • NONE

      public static final Asset.AssetGroupRole NONE
      default role for all asset without group
    • LEADER

      public static final Asset.AssetGroupRole LEADER
      main role for asset in group
    • VARIANT

      public static final Asset.AssetGroupRole VARIANT
      member role for asset in group
    • VERSION

      public static final Asset.AssetGroupRole VERSION
      member role for asset with sort field versionNumber and the link to master asset by masterId of CE
  • Method Details

    • values

      public static Asset.AssetGroupRole[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Asset.AssetGroupRole valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null