org.geotools.arcsde.data
Class SdeRow

Object
  extended by SdeRow

public class SdeRow
extends Object

Wrapper for an SeRow so it allows asking multiple times for the same property.

Since:
2.4.0
Author:
Gabriel Roldan, Axios Engineering
Module:

Constructor Summary
SdeRow(GeometryFactory geometryFactory)
           
SdeRow(SeRow row)
           
SdeRow(SeRow row, GeometryFactory geometryFactory)
           
 
Method Summary
 Object[] getAll()
          DOCUMENT ME!
 int getIndicator(int columnIndex)
           
 Integer getInteger(int index)
           
 Long getLong(int index)
          DOCUMENT ME!
 Object getObject(int index)
          DOCUMENT ME!
 SeShape getShape(int index)
          DOCUMENT ME!
 void setGeometryIndex(int geometryIndex)
           
 void setPreviousValues(Object[] previousValues)
           
 void setRow(SeRow row)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SdeRow

public SdeRow(GeometryFactory geometryFactory)

SdeRow

public SdeRow(SeRow row)
       throws IOException
Throws:
IOException

SdeRow

public SdeRow(SeRow row,
              GeometryFactory geometryFactory)
       throws IOException
Throws:
IOException
Method Detail

setRow

public void setRow(SeRow row)
            throws IOException
Throws:
IOException

setPreviousValues

public void setPreviousValues(Object[] previousValues)

getObject

public Object getObject(int index)
                 throws IOException
DOCUMENT ME!

Parameters:
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

getAll

public Object[] getAll()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getLong

public Long getLong(int index)
             throws IOException
DOCUMENT ME!

Parameters:
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

getShape

public SeShape getShape(int index)
                 throws IOException
DOCUMENT ME!

Parameters:
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

getIndicator

public int getIndicator(int columnIndex)
Parameters:
columnIndex -
Returns:
one of SeRow.SE_IS_ALREADY_FETCHED, SeRow.SE_IS_NOT_NULL_VALUE, SeRow.SE_IS_NULL_VALUE, SeRow.SE_IS_REPEATED_FEATURE

getInteger

public Integer getInteger(int index)
                   throws IOException
Throws:
IOException

setGeometryIndex

public void setGeometryIndex(int geometryIndex)
Parameters:
geometryIndex - a value >= 0 indicates which index in the row contains the geometry attribute. If not set, geometryFactory will be ignored


Copyright © 1996-2009 Geotools. All Rights Reserved.