pl.mbdev.openstage
Enum IppDateField.Default

java.lang.Object
  extended by java.lang.Enum<IppDateField.Default>
      extended by pl.mbdev.openstage.IppDateField.Default
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IppDateField.Default>
Enclosing class:
IppDateField

public static enum IppDateField.Default
extends java.lang.Enum<IppDateField.Default>

Defines the possible kinds of default values of the IppDateField.

Author:
Mateusz Bysiek

Enum Constant Summary
MODE
          The field will have a default value provided in date and time parameters, and part of the data visible will be set according to mode parameter.
NULL
          The field is by default empty.
 
Method Summary
static IppDateField.Default valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IppDateField.Default[] 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

NULL

public static final IppDateField.Default NULL
The field is by default empty.


MODE

public static final IppDateField.Default MODE
The field will have a default value provided in date and time parameters, and part of the data visible will be set according to mode parameter.

Method Detail

values

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

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

valueOf

public static IppDateField.Default 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