org.deegree.protocol.wfs.transaction
Class TransactionOperation

java.lang.Object
  extended by org.deegree.protocol.wfs.transaction.TransactionOperation
Direct Known Subclasses:
Delete, Insert, Native, Update

public abstract class TransactionOperation
extends Object

Abstract base class for the operations that can occur inside a Transaction request.

Version:
$Revision: 19043 $, $Date: 2009-08-11 18:20:07 +0200 (Tue, 11 Aug 2009) $
Author:
Markus Schneider , last edited by: $Author: mschneider $
See Also:
Transaction

Nested Class Summary
static class TransactionOperation.Type
          Convenience enum type for discriminating the different operation types.
 
Constructor Summary
protected TransactionOperation(String handle)
          Creates a new TransactionOperation with an optional handle.
 
Method Summary
 String getHandle()
          Returns the idenfifier of the operation.
abstract  TransactionOperation.Type getType()
          Returns the type of operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionOperation

protected TransactionOperation(String handle)
Creates a new TransactionOperation with an optional handle.

Parameters:
handle - identifier for the operation, may be null
Method Detail

getType

public abstract TransactionOperation.Type getType()
Returns the type of operation. Use this to safely determine the subtype of TransactionOperation.

Returns:
type of operation

getHandle

public String getHandle()
Returns the idenfifier of the operation.

Returns:
the idenfifier of the operation, or null if it is unspecified


Copyright © 2011. All Rights Reserved.