public static enum MediaObject.ConfirmationStatus extends java.lang.Enum<MediaObject.ConfirmationStatus>
Enum Constant and Description |
---|
BACKEND_REMOVED
back-end has requested this object to be removed as not being valid, possibly because of previously inaccurate analysis results.
|
CANDIDATE
object has been automatically generated and user has not confirmed whether he/she wants it or not
|
NO_FRIENDLY_KEYWORD
special status declaring that no friendly keyword data is available
|
USER_CONFIRMED
this object has been accepted by the user, it can originally be created by a back-end or by the user
|
USER_REJECTED
basically this means that user does not want the object, and it should be deleted.
|
Modifier and Type | Method and Description |
---|---|
static java.util.EnumSet<MediaObject.ConfirmationStatus> |
fromDataGroups(DataGroups dataGroups) |
static MediaObject.ConfirmationStatus |
fromInt(int value) |
int |
toInt() |
static int[] |
toIntArray(java.util.EnumSet<MediaObject.ConfirmationStatus> status) |
static MediaObject.ConfirmationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaObject.ConfirmationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaObject.ConfirmationStatus CANDIDATE
public static final MediaObject.ConfirmationStatus USER_CONFIRMED
public static final MediaObject.ConfirmationStatus USER_REJECTED
public static final MediaObject.ConfirmationStatus BACKEND_REMOVED
public static final MediaObject.ConfirmationStatus NO_FRIENDLY_KEYWORD
public static MediaObject.ConfirmationStatus[] values()
for (MediaObject.ConfirmationStatus c : MediaObject.ConfirmationStatus.values()) System.out.println(c);
public static MediaObject.ConfirmationStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int toInt()
public static int[] toIntArray(java.util.EnumSet<MediaObject.ConfirmationStatus> status)
status
- public static MediaObject.ConfirmationStatus fromInt(int value) throws java.lang.IllegalArgumentException
value
- java.lang.IllegalArgumentException
public static java.util.EnumSet<MediaObject.ConfirmationStatus> fromDataGroups(DataGroups dataGroups)
dataGroups
- Copyright © 2015 Tampere University of Technology, Pori Department.