net.ivoa.registry.search
Class SOAPSearchClient.SearchQuery

java.lang.Object
  extended by net.ivoa.registry.search.SOAPSearchClient.SearchQuery
Enclosing class:
SOAPSearchClient

public class SOAPSearchClient.SearchQuery
extends java.lang.Object

an updatable search query


Method Summary
 int getFrom()
          return the position of the first record to return
 int getMax()
          return the maximum number of records to return
 SOAPMessage getSearchSOAPMessage()
          return a SOAP Message that is ready for submission
 org.w3c.dom.Element getWhereParent()
          return a parent element that the Where clause can be appended to.
 boolean isIdentifiersOnly()
          return whether idenitifiers only should be returned
 void setFrom(int pos)
          set the position of the first record to return
 void setIdentifiersOnly(boolean yes)
          set whether idenitifiers only should be returned.
 void setMax(int count)
          set the maximum number of records to return
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSearchSOAPMessage

public SOAPMessage getSearchSOAPMessage()
                                 throws SOAPException
return a SOAP Message that is ready for submission

Throws:
SOAPException

getWhereParent

public org.w3c.dom.Element getWhereParent()
return a parent element that the Where clause can be appended to.


getFrom

public int getFrom()
return the position of the first record to return


setFrom

public void setFrom(int pos)
set the position of the first record to return


getMax

public int getMax()
return the maximum number of records to return


setMax

public void setMax(int count)
set the maximum number of records to return


isIdentifiersOnly

public boolean isIdentifiersOnly()
return whether idenitifiers only should be returned


setIdentifiersOnly

public void setIdentifiersOnly(boolean yes)
set whether idenitifiers only should be returned. The default value is false.