deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wfs.operation.transaction
Enum Transaction.RELEASE_ACTION

java.lang.Object
  extended by java.lang.Enum<Transaction.RELEASE_ACTION>
      extended by org.deegree.ogcwebservices.wfs.operation.transaction.Transaction.RELEASE_ACTION
All Implemented Interfaces:
Serializable, Comparable<Transaction.RELEASE_ACTION>
Enclosing class:
Transaction

public static enum Transaction.RELEASE_ACTION
extends Enum<Transaction.RELEASE_ACTION>

Controls how locked features are treated when a transaction request is completed.


Enum Constant Summary
ALL
          Indicates that the locks on all feature instances locked using the associated lockId should be released when the transaction completes, regardless of whether or not a particular feature instance in the locked set was actually operated upon.
SOME
          Indicates that only the locks on feature instances modified by the transaction should be released.
 
Method Summary
static Transaction.RELEASE_ACTION valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Transaction.RELEASE_ACTION[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALL

public static final Transaction.RELEASE_ACTION ALL
Indicates that the locks on all feature instances locked using the associated lockId should be released when the transaction completes, regardless of whether or not a particular feature instance in the locked set was actually operated upon.


SOME

public static final Transaction.RELEASE_ACTION SOME
Indicates that only the locks on feature instances modified by the transaction should be released. The other, unmodified, feature instances should remain locked using the same lockId so that subsequent transactions can operate on those feature instances. If an expiry period was specified, the expiry counter must be reset to zero after each transaction unless all feature instances in the locked set have been operated upon.

Method Detail

values

public static final Transaction.RELEASE_ACTION[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Transaction.RELEASE_ACTION c : Transaction.RELEASE_ACTION.values())
        System.out.println(c);

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

valueOf

public static Transaction.RELEASE_ACTION 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

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org