com.tenduke.services.objectmodel
Enum ObjectModelServiceUtils.EntryMediaType

java.lang.Object
  extended by java.lang.Enum<ObjectModelServiceUtils.EntryMediaType>
      extended by com.tenduke.services.objectmodel.ObjectModelServiceUtils.EntryMediaType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ObjectModelServiceUtils.EntryMediaType>
Enclosing class:
ObjectModelServiceUtils

public static enum ObjectModelServiceUtils.EntryMediaType
extends java.lang.Enum<ObjectModelServiceUtils.EntryMediaType>


Enum Constant Summary
DefaultImage
          Generated default size image (applicable for ImageEntries only).
Flv
          Default transcoded flv (applicable for VideoEntries only).
Mp3
          Generated default mp3 audio (applicable for AudioEntries only).
OriginalMedia
          Original uploaded media.
Screenshot
          Generated default screenshot image (applicable for VideoEntries only).
Thumbnail
          Generated default thumbnail image (applicable for VideoEntries and ImageEntries).
 
Method Summary
static ObjectModelServiceUtils.EntryMediaType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ObjectModelServiceUtils.EntryMediaType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DefaultImage

public static final ObjectModelServiceUtils.EntryMediaType DefaultImage
Generated default size image (applicable for ImageEntries only).


Flv

public static final ObjectModelServiceUtils.EntryMediaType Flv
Default transcoded flv (applicable for VideoEntries only).


Mp3

public static final ObjectModelServiceUtils.EntryMediaType Mp3
Generated default mp3 audio (applicable for AudioEntries only).


OriginalMedia

public static final ObjectModelServiceUtils.EntryMediaType OriginalMedia
Original uploaded media.


Screenshot

public static final ObjectModelServiceUtils.EntryMediaType Screenshot
Generated default screenshot image (applicable for VideoEntries only).


Thumbnail

public static final ObjectModelServiceUtils.EntryMediaType Thumbnail
Generated default thumbnail image (applicable for VideoEntries and ImageEntries).

Method Detail

valueOf

public static ObjectModelServiceUtils.EntryMediaType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

values

public static ObjectModelServiceUtils.EntryMediaType[] 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 (ObjectModelServiceUtils.EntryMediaType c : ObjectModelServiceUtils.EntryMediaType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared