org.deegree.metadata.persistence.transaction
Class TransactionOperation

java.lang.Object
  extended by org.deegree.metadata.persistence.transaction.TransactionOperation
Direct Known Subclasses:
DeleteOperation, InsertOperation, UpdateOperation

public abstract class TransactionOperation
extends Object

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

Version:
$Revision: 30340 $, $Date: 2011-04-04 16:05:42 +0200 (Mo, 04. Apr 2011) $
Author:
Steffen Thomas, last edited by: $Author: mschneider $

Constructor Summary
protected TransactionOperation(String handle)
          Creates a new TransactionOperation with an optional handle.
 
Method Summary
 String getHandle()
           
abstract  CSWConstants.TransactionType 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 CSWConstants.TransactionType 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 handle


Copyright © 2011. All Rights Reserved.