Package org.esa.snap.core.util
Class ForwardingSimpleFeature
java.lang.Object
org.esa.snap.core.util.ForwardingSimpleFeature
- All Implemented Interfaces:
org.opengis.feature.Attribute,org.opengis.feature.ComplexAttribute,org.opengis.feature.Feature,org.opengis.feature.Property,org.opengis.feature.simple.SimpleFeature
public class ForwardingSimpleFeature
extends Object
implements org.opengis.feature.simple.SimpleFeature
Reusable forwarding class delegating to a
SimpleFeature instance.-
Constructor Summary
ConstructorsConstructorDescriptionForwardingSimpleFeature(org.opengis.feature.simple.SimpleFeature simpleFeature) -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(int i) getAttribute(org.opengis.feature.type.Name name) intorg.opengis.geometry.BoundingBoxorg.opengis.feature.GeometryAttributeorg.opengis.feature.type.AttributeDescriptororg.opengis.feature.simple.SimpleFeatureTypegetID()org.opengis.filter.identity.FeatureIdorg.opengis.feature.type.NamegetName()Collection<org.opengis.feature.Property> Collection<org.opengis.feature.Property> Collection<org.opengis.feature.Property> getProperties(org.opengis.feature.type.Name name) org.opengis.feature.Propertyorg.opengis.feature.PropertygetProperty(org.opengis.feature.type.Name name) org.opengis.feature.simple.SimpleFeatureorg.opengis.feature.simple.SimpleFeatureTypegetType()Collection<? extends org.opengis.feature.Property> getValue()booleanvoidsetAttribute(int i, Object o) voidsetAttribute(String s, Object o) voidsetAttribute(org.opengis.feature.type.Name name, Object o) voidsetAttributes(Object[] objects) voidsetAttributes(List<Object> objects) voidvoidsetDefaultGeometryProperty(org.opengis.feature.GeometryAttribute geometryAttribute) voidvoidsetValue(Collection<org.opengis.feature.Property> properties) voidvalidate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opengis.feature.Property
hasUserData
-
Constructor Details
-
ForwardingSimpleFeature
public ForwardingSimpleFeature(org.opengis.feature.simple.SimpleFeature simpleFeature)
-
-
Method Details
-
getSimpleFeature
public org.opengis.feature.simple.SimpleFeature getSimpleFeature() -
getID
- Specified by:
getIDin interfaceorg.opengis.feature.simple.SimpleFeature
-
getDescriptor
public org.opengis.feature.type.AttributeDescriptor getDescriptor()- Specified by:
getDescriptorin interfaceorg.opengis.feature.Attribute- Specified by:
getDescriptorin interfaceorg.opengis.feature.Property
-
getName
public org.opengis.feature.type.Name getName()- Specified by:
getNamein interfaceorg.opengis.feature.Property
-
isNillable
public boolean isNillable()- Specified by:
isNillablein interfaceorg.opengis.feature.Property
-
getUserData
- Specified by:
getUserDatain interfaceorg.opengis.feature.Property
-
getType
public org.opengis.feature.simple.SimpleFeatureType getType()- Specified by:
getTypein interfaceorg.opengis.feature.Attribute- Specified by:
getTypein interfaceorg.opengis.feature.ComplexAttribute- Specified by:
getTypein interfaceorg.opengis.feature.Feature- Specified by:
getTypein interfaceorg.opengis.feature.Property- Specified by:
getTypein interfaceorg.opengis.feature.simple.SimpleFeature
-
setValue
- Specified by:
setValuein interfaceorg.opengis.feature.ComplexAttribute
-
getValue
- Specified by:
getValuein interfaceorg.opengis.feature.ComplexAttribute- Specified by:
getValuein interfaceorg.opengis.feature.Property
-
setValue
- Specified by:
setValuein interfaceorg.opengis.feature.Property
-
getProperties
- Specified by:
getPropertiesin interfaceorg.opengis.feature.ComplexAttribute
-
getProperty
public org.opengis.feature.Property getProperty(org.opengis.feature.type.Name name) - Specified by:
getPropertyin interfaceorg.opengis.feature.ComplexAttribute
-
getProperties
- Specified by:
getPropertiesin interfaceorg.opengis.feature.ComplexAttribute
-
getProperties
- Specified by:
getPropertiesin interfaceorg.opengis.feature.ComplexAttribute
-
getProperty
- Specified by:
getPropertyin interfaceorg.opengis.feature.ComplexAttribute
-
validate
public void validate() throws org.opengis.feature.IllegalAttributeException- Specified by:
validatein interfaceorg.opengis.feature.Attribute- Specified by:
validatein interfaceorg.opengis.feature.ComplexAttribute- Throws:
org.opengis.feature.IllegalAttributeException
-
getIdentifier
public org.opengis.filter.identity.FeatureId getIdentifier()- Specified by:
getIdentifierin interfaceorg.opengis.feature.Attribute- Specified by:
getIdentifierin interfaceorg.opengis.feature.Feature
-
getBounds
public org.opengis.geometry.BoundingBox getBounds()- Specified by:
getBoundsin interfaceorg.opengis.feature.Feature
-
getDefaultGeometryProperty
public org.opengis.feature.GeometryAttribute getDefaultGeometryProperty()- Specified by:
getDefaultGeometryPropertyin interfaceorg.opengis.feature.Feature
-
setDefaultGeometryProperty
public void setDefaultGeometryProperty(org.opengis.feature.GeometryAttribute geometryAttribute) - Specified by:
setDefaultGeometryPropertyin interfaceorg.opengis.feature.Feature
-
getFeatureType
public org.opengis.feature.simple.SimpleFeatureType getFeatureType()- Specified by:
getFeatureTypein interfaceorg.opengis.feature.simple.SimpleFeature
-
getAttributes
- Specified by:
getAttributesin interfaceorg.opengis.feature.simple.SimpleFeature
-
setAttributes
- Specified by:
setAttributesin interfaceorg.opengis.feature.simple.SimpleFeature
-
setAttributes
- Specified by:
setAttributesin interfaceorg.opengis.feature.simple.SimpleFeature
-
getAttribute
- Specified by:
getAttributein interfaceorg.opengis.feature.simple.SimpleFeature
-
setAttribute
- Specified by:
setAttributein interfaceorg.opengis.feature.simple.SimpleFeature
-
getAttribute
- Specified by:
getAttributein interfaceorg.opengis.feature.simple.SimpleFeature
-
setAttribute
- Specified by:
setAttributein interfaceorg.opengis.feature.simple.SimpleFeature
-
getAttribute
- Specified by:
getAttributein interfaceorg.opengis.feature.simple.SimpleFeature- Throws:
IndexOutOfBoundsException
-
setAttribute
- Specified by:
setAttributein interfaceorg.opengis.feature.simple.SimpleFeature- Throws:
IndexOutOfBoundsException
-
getAttributeCount
public int getAttributeCount()- Specified by:
getAttributeCountin interfaceorg.opengis.feature.simple.SimpleFeature
-
getDefaultGeometry
- Specified by:
getDefaultGeometryin interfaceorg.opengis.feature.simple.SimpleFeature
-
setDefaultGeometry
- Specified by:
setDefaultGeometryin interfaceorg.opengis.feature.simple.SimpleFeature
-