org.geotools.jdbc
Class JDBCFeatureReader.ResultSetFeature
Object
JDBCFeatureReader.ResultSetFeature
- All Implemented Interfaces:
- Attribute, ComplexAttribute, Feature, Property, SimpleFeature
- Enclosing class:
- JDBCFeatureReader
protected class JDBCFeatureReader.ResultSetFeature
- extends Object
- implements SimpleFeature
Feature wrapper around a result set.
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
init
public void init(String fid)
init
public void init()
throws SQLException,
IOException
- Throws:
SQLException
IOException
getFeatureType
public SimpleFeatureType getFeatureType()
- Specified by:
getFeatureType
in interface SimpleFeature
getType
public SimpleFeatureType getType()
- Specified by:
getType
in interface Attribute
- Specified by:
getType
in interface ComplexAttribute
- Specified by:
getType
in interface Feature
- Specified by:
getType
in interface Property
- Specified by:
getType
in interface SimpleFeature
getIdentifier
public FeatureId getIdentifier()
- Specified by:
getIdentifier
in interface Attribute
- Specified by:
getIdentifier
in interface Feature
getID
public String getID()
- Specified by:
getID
in interface SimpleFeature
setID
public void setID(String id)
getAttribute
public Object getAttribute(String name)
- Specified by:
getAttribute
in interface SimpleFeature
getAttribute
public Object getAttribute(Name name)
- Specified by:
getAttribute
in interface SimpleFeature
getAttribute
public Object getAttribute(int index)
throws IndexOutOfBoundsException
- Specified by:
getAttribute
in interface SimpleFeature
- Throws:
IndexOutOfBoundsException
setAttribute
public void setAttribute(String name,
Object value)
- Specified by:
setAttribute
in interface SimpleFeature
setAttribute
public void setAttribute(Name name,
Object value)
- Specified by:
setAttribute
in interface SimpleFeature
setAttribute
public void setAttribute(int index,
Object value)
throws IndexOutOfBoundsException
- Specified by:
setAttribute
in interface SimpleFeature
- Throws:
IndexOutOfBoundsException
setAttributes
public void setAttributes(List<Object> values)
- Specified by:
setAttributes
in interface SimpleFeature
getAttributeCount
public int getAttributeCount()
- Specified by:
getAttributeCount
in interface SimpleFeature
isDirty
public boolean isDirty(int index)
isDirrty
public boolean isDirrty(String name)
close
public void close()
getAttributes
public List<Object> getAttributes()
- Specified by:
getAttributes
in interface SimpleFeature
getDefaultGeometry
public Object getDefaultGeometry()
- Specified by:
getDefaultGeometry
in interface SimpleFeature
setAttributes
public void setAttributes(Object[] object)
- Specified by:
setAttributes
in interface SimpleFeature
setDefaultGeometry
public void setDefaultGeometry(Object defaultGeometry)
- Specified by:
setDefaultGeometry
in interface SimpleFeature
getBounds
public BoundingBox getBounds()
- Specified by:
getBounds
in interface Feature
getDefaultGeometryProperty
public GeometryAttribute getDefaultGeometryProperty()
- Specified by:
getDefaultGeometryProperty
in interface Feature
setDefaultGeometryProperty
public void setDefaultGeometryProperty(GeometryAttribute defaultGeometry)
- Specified by:
setDefaultGeometryProperty
in interface Feature
getProperties
public Collection<Property> getProperties()
- Specified by:
getProperties
in interface ComplexAttribute
getProperties
public Collection<Property> getProperties(Name name)
- Specified by:
getProperties
in interface ComplexAttribute
getProperties
public Collection<Property> getProperties(String name)
- Specified by:
getProperties
in interface ComplexAttribute
getProperty
public Property getProperty(Name name)
- Specified by:
getProperty
in interface ComplexAttribute
getProperty
public Property getProperty(String name)
- Specified by:
getProperty
in interface ComplexAttribute
getValue
public Collection<? extends Property> getValue()
- Specified by:
getValue
in interface ComplexAttribute
- Specified by:
getValue
in interface Property
setValue
public void setValue(Collection<Property> value)
- Specified by:
setValue
in interface ComplexAttribute
getDescriptor
public AttributeDescriptor getDescriptor()
- Specified by:
getDescriptor
in interface Attribute
- Specified by:
getDescriptor
in interface Property
getName
public Name getName()
- Specified by:
getName
in interface Property
getUserData
public Map<Object,Object> getUserData()
- Specified by:
getUserData
in interface Property
isNillable
public boolean isNillable()
- Specified by:
isNillable
in interface Property
setValue
public void setValue(Object value)
- Specified by:
setValue
in interface Property
validate
public void validate()
- Specified by:
validate
in interface Attribute
- Specified by:
validate
in interface ComplexAttribute
Copyright © 1996-2009 Geotools. All Rights Reserved.