Enum Class MediaUsage
java.lang.Object
java.lang.Enum<MediaUsage>
org.odpi.openmetadata.accessservices.subjectarea.properties.enums.MediaUsage
- All Implemented Interfaces:
Serializable
,Comparable<MediaUsage>
,Constable
Defines how a related media reference should be used.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionProvides a small image to represent the asset in tree views and graphs.Illustrates how the asset works or what it contains.Another usage.Provides a small image about the asset that can be used in lists.Provides guidance to a person on how to use the asset. -
Method Summary
Modifier and TypeMethodDescriptionReturn the description for the enum.getName()
Return the descriptive name for the MediaUsage enum instanceint
Return the numerical value for the enum.static MediaUsage
Returns the enum constant of this class with the specified name.static MediaUsage[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Icon
Provides a small image to represent the asset in tree views and graphs. -
Thumbnail
Provides a small image about the asset that can be used in lists. -
Illustration
Illustrates how the asset works or what it contains. It is complementary to the asset's description. -
UsageGuidance
Provides guidance to a person on how to use the asset. -
Other
Another usage.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getOrdinal
public int getOrdinal()Return the numerical value for the enum.- Returns:
- int enum value ordinal
-
getDescription
Return the description for the enum.- Returns:
- String description
-
getName
Return the descriptive name for the MediaUsage enum instance- Returns:
- String name
-