org.deegree.ogcwebservices.csw.manager
Class Insert
java.lang.Object
org.deegree.ogcwebservices.csw.manager.Operation
org.deegree.ogcwebservices.csw.manager.Insert
public class Insert
- extends Operation
An Insert object is a container for one or more records that are to be inserted into the
catalogue. The schema of the record(s) must conform to the schema of the information model that
the catalogue supports as described using the DescribeRecord operation.
- Version:
- $Revision: 9345 $, $Date: 2007-12-27 17:22:25 +0100 (Do, 27 Dez 2007) $
- Author:
- Andreas Poth, last edited by: $Author: apoth $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Insert
public Insert(String handle,
List<Element> records)
- Parameters:
handle
- attribute of the insert.records
- a list containing all (firstlevel) child xml elements beneath the
element
Insert
public Insert(String handle,
List<Element> records,
Map<String,Element> extrinsicObjects)
- Parameters:
handle
- attribute of the insert.records
- a list containing all (firstlevel) child xml elements beneath the
elementextrinsicObjects
- a mapping of the lid of the values to the rim:ExtrinsicObject w3c-element. They
are needed to find the actual extrinsic objects into the multiparts send to the
csw.
getRecords
public List<Element> getRecords()
- returns records to insert
- Returns:
- records to insert
getExtrinsicObjects
public Map<String,Element> getExtrinsicObjects()
- Returns:
- the ebrim extrinsicObjects which should be inserted or an empty map if no
ExtrinsicObject should be inserted, or no ebrim is used in this catalogue.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net