public enum AssetField extends Enum<AssetField> implements EntityField
Enum
to facilitate the selection of fields for Asset
.Enum Constant and Description |
---|
AssetId
Id of this asset.
|
AssetName
Optional name of the asset which can act as a unique identifier.
|
AssetStatus
Asset status.
|
AssetSubtype
Asset type.
|
ImageFileSize
File size of the image.
|
ImageFullSizeUrl
URL pointing to the image in the specified height & width.
|
ImageHeight
Height of the image.
|
ImageMimeType
The mime type of the image.
|
ImageWidth
Width of the image.
|
YouTubeVideoId
YouTube video ID.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFilterable()
If the field is filterable.
|
static AssetField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final AssetField AssetId
public static final AssetField AssetName
public static final AssetField AssetStatus
public static final AssetField AssetSubtype
public static final AssetField ImageFileSize
public static final AssetField ImageFullSizeUrl
public static final AssetField ImageHeight
public static final AssetField ImageMimeType
public static final AssetField ImageWidth
public static final AssetField YouTubeVideoId
public static AssetField[] values()
for (AssetField c : AssetField.values()) System.out.println(c);
public static AssetField 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 boolean isFilterable()
EntityField
isFilterable
in interface EntityField
Copyright © 2020. All Rights Reserved.