deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial)

org.deegree.ogcwebservices.csw.discovery
Class GetRecordByIdResult

java.lang.Object
  extended by org.deegree.ogcwebservices.DefaultOGCWebServiceResponse
      extended by org.deegree.ogcwebservices.csw.discovery.GetRecordByIdResult
All Implemented Interfaces:
OGCWebServiceResponse

public class GetRecordByIdResult
extends DefaultOGCWebServiceResponse

Since:
2.0
Version:
$Revision: 27385 $, 1.0. $Revision: 27385 $, $Date: 2010-10-19 12:55:27 +0200 (Tue, 19 Oct 2010) $
Author:
Andreas Poth, last edited by: $Author: lbuesching $

Field Summary
 
Fields inherited from class org.deegree.ogcwebservices.DefaultOGCWebServiceResponse
exception, request
 
Constructor Summary
GetRecordByIdResult(GetRecordById request, Element record)
           
GetRecordByIdResult(GetRecordById request, List<Node> records)
           
 
Method Summary
 Element getRecord()
           
 List<Node> getRecords()
           
 
Methods inherited from class org.deegree.ogcwebservices.DefaultOGCWebServiceResponse
getException, getRequest, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetRecordByIdResult

public GetRecordByIdResult(GetRecordById request,
                           Element record)
Parameters:
request -
record - result node

GetRecordByIdResult

public GetRecordByIdResult(GetRecordById request,
                           List<Node> records)
Parameters:
request -
records -
Method Detail

getRecord

public Element getRecord()
Returns:
the first record node that is the result content of a GetRecordById request

getRecords

public List<Node> getRecords()
Returns:
the record nodes that is the result content of a GetRecordById request

deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org