org.deegree.metadata.publication
Class TransactionOperation

java.lang.Object
  extended by org.deegree.metadata.publication.TransactionOperation
Direct Known Subclasses:
DeleteTransaction, InsertTransaction, UpdateTransaction

public abstract class TransactionOperation
extends java.lang.Object

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

Version:
$Revision: 27054 $, $Date: 2010-09-28 16:20:56 +0200 (Di, 28. Sep 2010) $
Author:
Steffen Thomas, last edited by: $Author: sthomas $

Constructor Summary
protected TransactionOperation(java.lang.String handle)
          Creates a new TransactionOperation with an optional handle.
 
Method Summary
 java.lang.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(java.lang.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 java.lang.String getHandle()
Returns:
the handle


Copyright © 2011. All Rights Reserved.