Esri Geoportal Server
1.0

com.esri.gpt.server.assertion.components
Class AsnRequestOptions

java.lang.Object
  extended by com.esri.gpt.server.assertion.components.AsnRequestOptions

public class AsnRequestOptions
extends Object

Options associated with an assertion request.


Constructor Summary
AsnRequestOptions()
          Default constructor
 
Method Summary
 String getIPAddress()
          Gets the IP address associated with the request.
 int getMaxRecords()
          Gets the maximum number of records to return.
 int getMaxRecordsThreshold()
          Gets the threshold for the maximum number of record to return.
 String getPredicate()
          Gets the predicate associated with the request.
 int getStartRecord()
          Gets the starting record.
 String getSubject()
          Gets the subject associated with the request.
 String getValue()
          Gets the value associated with the request predicate.
 void setIPAddress(String ipAddress)
          Sets the IP address associated with the request.
 void setMaxRecords(int maxRecords)
          Sets the maximum number of records to return.
 void setMaxRecordsThreshold(int maxRecordsThreshold)
          Sets the threshold for the maximum number of record to return.
 void setPredicate(String predicate)
          Sets the predicate associated with the request.
 void setStartRecord(int startRecord)
          Sets the starting record.
 void setSubject(String subject)
          Sets the subject associated with the request.
 void setValue(String value)
          Sets the value associated with the request predicate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnRequestOptions

public AsnRequestOptions()
Default constructor

Method Detail

getIPAddress

public String getIPAddress()
Gets the IP address associated with the request.

Returns:
the IP address

setIPAddress

public void setIPAddress(String ipAddress)
Sets the IP address associated with the request.

Parameters:
ipAddress - the IP address

getMaxRecords

public int getMaxRecords()
Gets the maximum number of records to return.
Default = 10.

Returns:
the maximum number of records to return

setMaxRecords

public void setMaxRecords(int maxRecords)
Sets the maximum number of records to return.
A value of zero or less will return no records (hit count only).
If the supplied value exceeds the threshold, the max records will be set to the threshold.

Parameters:
maxRecords - maximum number of records to return

getMaxRecordsThreshold

public int getMaxRecordsThreshold()
Gets the threshold for the maximum number of record to return.
Default = 500.

Returns:
the maximum number of records threshhold

setMaxRecordsThreshold

public void setMaxRecordsThreshold(int maxRecordsThreshold)
Sets the threshold for the maximum number of record to return.

Parameters:
maxRecordsThreshold - the maximum number of records threshhold

getPredicate

public String getPredicate()
Gets the predicate associated with the request.

Returns:
the request predicate

setPredicate

public void setPredicate(String predicate)
Sets the predicate associated with the request.

Parameters:
predicate - the request predicate

getStartRecord

public int getStartRecord()
Gets the starting record.

Returns:
the starting record

setStartRecord

public void setStartRecord(int startRecord)
Sets the starting record.
If the supplied value is less that 1, the start record will be set to 1.

Parameters:
startRecord - the starting record

getSubject

public String getSubject()
Gets the subject associated with the request.

Returns:
the request subject

setSubject

public void setSubject(String subject)
Sets the subject associated with the request.

Parameters:
subject - the request subject

getValue

public String getValue()
Gets the value associated with the request predicate.

Returns:
the request predicate value

setValue

public void setValue(String value)
Sets the value associated with the request predicate.

Parameters:
value - the request predicate value

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.