com.evolveum.midpoint.web.bean
Enum TaskItemRecurrenceStatus

java.lang.Object
  extended by java.lang.Enum<TaskItemRecurrenceStatus>
      extended by com.evolveum.midpoint.web.bean.TaskItemRecurrenceStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TaskItemRecurrenceStatus>

public enum TaskItemRecurrenceStatus
extends java.lang.Enum<TaskItemRecurrenceStatus>


Enum Constant Summary
RECURRING
           
SINGLE
           
 
Method Summary
static TaskItemRecurrenceStatus fromTask(TaskRecurrence recurrence)
           
 java.lang.String getTitle()
           
static TaskRecurrence toTask(TaskItemRecurrenceStatus recurrence)
           
static TaskItemRecurrenceStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TaskItemRecurrenceStatus[] 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

SINGLE

public static final TaskItemRecurrenceStatus SINGLE

RECURRING

public static final TaskItemRecurrenceStatus RECURRING
Method Detail

values

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

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

valueOf

public static TaskItemRecurrenceStatus 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

getTitle

public java.lang.String getTitle()

fromTask

public static TaskItemRecurrenceStatus fromTask(TaskRecurrence recurrence)

toTask

public static TaskRecurrence toTask(TaskItemRecurrenceStatus recurrence)


Copyright © 2012 evolveum. All Rights Reserved.