EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql.model
Enum IListChangeEvent.EventType

java.lang.Object
  extended by java.lang.Enum<IListChangeEvent.EventType>
      extended by org.eclipse.persistence.jpa.jpql.model.IListChangeEvent.EventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IListChangeEvent.EventType>
Enclosing interface:
IListChangeEvent<T>

public static enum IListChangeEvent.EventType
extends java.lang.Enum<IListChangeEvent.EventType>

This enumeration lists the possible modification a list can have.


Enum Constant Summary
ADDED
          Specifies the list changed by having new items inserted.
CHANGED
          Specifies the entire list has changed.
MOVED_DOWN
          Specifies the list changed by having some items have moved down the list.
MOVED_UP
          Specifies the list changed by having some items have moved up the list.
REMOVED
          Specifies the list changed by having items removed.
REPLACED
          Specifies the list changed by having a single item replaced.
 
Method Summary
static IListChangeEvent.EventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IListChangeEvent.EventType[] 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

ADDED

public static final IListChangeEvent.EventType ADDED
Specifies the list changed by having new items inserted.


CHANGED

public static final IListChangeEvent.EventType CHANGED
Specifies the entire list has changed.


MOVED_DOWN

public static final IListChangeEvent.EventType MOVED_DOWN
Specifies the list changed by having some items have moved down the list.


MOVED_UP

public static final IListChangeEvent.EventType MOVED_UP
Specifies the list changed by having some items have moved up the list.


REMOVED

public static final IListChangeEvent.EventType REMOVED
Specifies the list changed by having items removed.


REPLACED

public static final IListChangeEvent.EventType REPLACED
Specifies the list changed by having a single item replaced.

Method Detail

values

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

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

valueOf

public static IListChangeEvent.EventType 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

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference