public enum MediaUsage extends Enum<MediaUsage> implements Serializable
| Enum Constant and Description |
|---|
Icon
Provides a small image to represent the asset in tree views and graphs.
|
Illustration
Illustrates how the asset works or what it contains.
|
Other
Another usage.
|
Thumbnail
Provides a small image about the asset that can be used in lists.
|
UsageGuidance
Provides guidance to a person on how to use the asset.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the description for the enum.
|
String |
getName()
Return the descriptive name for the MediaUsage enum instance
|
int |
getOrdinal()
Return the numerical value for the enum.
|
static MediaUsage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaUsage Icon
public static final MediaUsage Thumbnail
public static final MediaUsage Illustration
public static final MediaUsage UsageGuidance
public static final MediaUsage Other
public static MediaUsage[] values()
for (MediaUsage c : MediaUsage.values()) System.out.println(c);
public static MediaUsage valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getOrdinal()
public String getDescription()
public String getName()
Copyright © 2018 ODPi. All rights reserved.