Enum IListChangeEvent.EventType
- java.lang.Object
-
- java.lang.Enum<IListChangeEvent.EventType>
-
- org.eclipse.persistence.jpa.jpql.tools.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
Enum Constants Enum Constant Description 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-