com.esri.arcgis.util.dataset
Class AGSRecord

java.lang.Object
  extended by com.esri.arcgis.util.dataset.AGSRecord
All Implemented Interfaces:
java.io.Serializable

public class AGSRecord
extends java.lang.Object
implements java.io.Serializable

Contains a collection of FieldValues and AGSGeometryNode.

See Also:
Serialized Form

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

Constructor Detail

AGSRecord

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

Method Detail

getCount

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

Returns:
int count of fieldvalues

getFieldValue

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

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

addFieldValue

public boolean addFieldValue(java.lang.String fieldValue)
Adds a field value to the AGSRecord object. Example: AGSRecordSet.addFieldValue("field");

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

getGeometry

public AGSGeometryNode getGeometry()
Returns the AGSGeometryNode of the record.

Returns:
the AGSGeometryNode value.
See Also:
AGSRecord.setGeometry(com.esri.arcgis.util.dataset.AGSGeometryNode)

setGeometry

public void setGeometry(AGSGeometryNode gNode)
Sets the AGSGeometryNode of the record

Parameters:
gNode - as the AGSGeometryNode.
See Also:
AGSRecord.getGeometry()