All Implemented Interfaces:
Serializable, Comparable<MediaUsage>, Constable

public enum MediaUsage extends Enum<MediaUsage> implements Serializable
Defines how a related media reference should be used.
  • Enum Constant Details

    • Icon

      public static final MediaUsage Icon
      Provides a small image to represent the asset in tree views and graphs.
    • Thumbnail

      public static final MediaUsage Thumbnail
      Provides a small image about the asset that can be used in lists.
    • Illustration

      public static final MediaUsage Illustration
      Illustrates how the asset works or what it contains. It is complementary to the asset's description.
    • UsageGuidance

      public static final MediaUsage UsageGuidance
      Provides guidance to a person on how to use the asset.
    • Other

      public static final MediaUsage Other
      Another usage.
  • Method Details

    • values

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

      public static MediaUsage 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getOrdinal

      public int getOrdinal()
      Return the numerical value for the enum.
      int enum value ordinal
    • getDescription

      public String getDescription()
      Return the description for the enum.
      String description
    • getName

      public String getName()
      Return the descriptive name for the MediaUsage enum instance
      String name