org.deegree.protocol.wfs.transaction
Enum TransactionOperation.Type

java.lang.Object
  extended by java.lang.Enum<TransactionOperation.Type>
      extended by org.deegree.protocol.wfs.transaction.TransactionOperation.Type
All Implemented Interfaces:
Serializable, Comparable<TransactionOperation.Type>
Enclosing class:
TransactionOperation

public static enum TransactionOperation.Type
extends Enum<TransactionOperation.Type>

Convenience enum type for discriminating the different operation types.


Enum Constant Summary
DELETE
          The object is an instance of Delete.
INSERT
          The object is an instance of Insert.
NATIVE
          The object is an instance of Native.
UPDATE
          The object is an instance of Update.
 
Method Summary
static TransactionOperation.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TransactionOperation.Type[] 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

DELETE

public static final TransactionOperation.Type DELETE
The object is an instance of Delete.


INSERT

public static final TransactionOperation.Type INSERT
The object is an instance of Insert.


NATIVE

public static final TransactionOperation.Type NATIVE
The object is an instance of Native.


UPDATE

public static final TransactionOperation.Type UPDATE
The object is an instance of Update.

Method Detail

values

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

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

valueOf

public static TransactionOperation.Type valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.