com.esri.aims.mtier.model.map.layer.query
Class Records

java.lang.Object
  extended by com.esri.aims.mtier.model.map.layer.query.Records
All Implemented Interfaces:
Serializable

public class Records
extends Object
implements Serializable

Contains a collection of recordset values. An instance of Records gets created after a filter has been applied to a FeatureLayer.

See Also:
Serialized Form

Constructor Summary
Records()
          Constructs an instance of Records.
 
Method Summary
 boolean addFieldValue(String fieldValue)
          Adds a field value to the records object.
 int getCount()
          Returns the count of record values.
 String getFieldValue(int index)
          Returns the field value at given index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Records

public Records()
Constructs an instance of Records. Example: Records records = new Records();

Method Detail

getCount

public int getCount()
Returns the count of record values. Example: int count = records.getCount();

Returns:
int

getFieldValue

public String getFieldValue(int index)
Returns the field value at given index. Example: String fieldValue = records.getFieldValue(0);

Parameters:
index - the field value index.
Returns:
the field value at given index.
See Also:
addFieldValue(java.lang.String)

addFieldValue

public boolean addFieldValue(String fieldValue)
Adds a field value to the records object. Example: recordset.addFieldValue("Scofield");

Parameters:
fieldValue - the field value.
Returns:
boolean
See Also:
getFieldValue(int)