Enum MediaUsage

    • Enum Constant Detail

      • 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 Detail

      • values

        public static MediaUsage[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MediaUsage c : MediaUsage.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MediaUsage 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
      • getOrdinal

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

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

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