org.deegree_impl.services.wcas.protocol
Class CASUpdate_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wcas.protocol.CASOperation_Impl
      extended byorg.deegree_impl.services.wcas.protocol.CASUpdate_Impl
All Implemented Interfaces:
CASOperation, CASUpdate

public final class CASUpdate_Impl
extends CASOperation_Impl
implements CASUpdate

The update operation changes the content of the metadata entries identified by the Filter

--------------------------------------------------------------------

Version:
2002-04-16
Author:
Andreas Poth

Field Summary
private  Filter filter
           
private  java.util.ArrayList metadata
           
 
Fields inherited from class org.deegree_impl.services.wcas.protocol.CASOperation_Impl
 
Fields inherited from interface org.deegree.services.wcas.protocol.CASOperation
OPERATION_DELETE, OPERATION_INSERT, OPERATION_LOCK, OPERATION_QUERY, OPERATION_UPDATE
 
Constructor Summary
(package private) CASUpdate_Impl(java.lang.String handle, Filter filter, java.lang.Object[] metadata)
          Creates a new CASUpdate_Impl object.
 
Method Summary
 void addMetadata(java.lang.Object metadata)
           
 Filter getFilter()
          returns the Filter that describes which records shall be changed - updated.
 java.lang.Object[] getMetadata()
          returns the metadata that shall be updated. because a catalog may supports more than one data format, no specific type is definied.
 void setFilter(Filter filter)
           
 void setMetadata(java.lang.Object[] metadata)
           
 
Methods inherited from class org.deegree_impl.services.wcas.protocol.CASOperation_Impl
getHandle, setHandle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.services.wcas.protocol.CASOperation
getHandle
 

Field Detail

metadata

private java.util.ArrayList metadata

filter

private Filter filter
Constructor Detail

CASUpdate_Impl

CASUpdate_Impl(java.lang.String handle,
               Filter filter,
               java.lang.Object[] metadata)
Creates a new CASUpdate_Impl object.

Parameters:
handle -
filter -
metadata -
Method Detail

getMetadata

public java.lang.Object[] getMetadata()
returns the metadata that shall be updated. because a catalog may supports more than one data format, no specific type is definied.

Specified by:
getMetadata in interface CASUpdate

setMetadata

public void setMetadata(java.lang.Object[] metadata)
See Also:
getMetadata()

addMetadata

public void addMetadata(java.lang.Object metadata)
See Also:
getMetadata()

getFilter

public Filter getFilter()
returns the Filter that describes which records shall be changed - updated.

Specified by:
getFilter in interface CASUpdate

setFilter

public void setFilter(Filter filter)
See Also:
getFilter()