Class 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 Detail

      • ForwardingSimpleFeature

        public ForwardingSimpleFeature​(org.opengis.feature.simple.SimpleFeature simpleFeature)
    • Method Detail

      • getSimpleFeature

        public org.opengis.feature.simple.SimpleFeature getSimpleFeature()
      • getID

        public String getID()
        Specified by:
        getID in interface org.opengis.feature.simple.SimpleFeature
      • getDescriptor

        public org.opengis.feature.type.AttributeDescriptor getDescriptor()
        Specified by:
        getDescriptor in interface org.opengis.feature.Attribute
        Specified by:
        getDescriptor in interface org.opengis.feature.Property
      • getName

        public org.opengis.feature.type.Name getName()
        Specified by:
        getName in interface org.opengis.feature.Property
      • isNillable

        public boolean isNillable()
        Specified by:
        isNillable in interface org.opengis.feature.Property
      • getUserData

        public Map<Object,​Object> getUserData()
        Specified by:
        getUserData in interface org.opengis.feature.Property
      • getType

        public org.opengis.feature.simple.SimpleFeatureType getType()
        Specified by:
        getType in interface org.opengis.feature.Attribute
        Specified by:
        getType in interface org.opengis.feature.ComplexAttribute
        Specified by:
        getType in interface org.opengis.feature.Feature
        Specified by:
        getType in interface org.opengis.feature.Property
        Specified by:
        getType in interface org.opengis.feature.simple.SimpleFeature
      • setValue

        public void setValue​(Collection<org.opengis.feature.Property> properties)
        Specified by:
        setValue in interface org.opengis.feature.ComplexAttribute
      • getValue

        public Collection<? extends org.opengis.feature.Property> getValue()
        Specified by:
        getValue in interface org.opengis.feature.ComplexAttribute
        Specified by:
        getValue in interface org.opengis.feature.Property
      • setValue

        public void setValue​(Object o)
        Specified by:
        setValue in interface org.opengis.feature.Property
      • getProperties

        public Collection<org.opengis.feature.Property> getProperties​(org.opengis.feature.type.Name name)
        Specified by:
        getProperties in interface org.opengis.feature.ComplexAttribute
      • getProperty

        public org.opengis.feature.Property getProperty​(org.opengis.feature.type.Name name)
        Specified by:
        getProperty in interface org.opengis.feature.ComplexAttribute
      • getProperties

        public Collection<org.opengis.feature.Property> getProperties​(String s)
        Specified by:
        getProperties in interface org.opengis.feature.ComplexAttribute
      • getProperties

        public Collection<org.opengis.feature.Property> getProperties()
        Specified by:
        getProperties in interface org.opengis.feature.ComplexAttribute
      • getProperty

        public org.opengis.feature.Property getProperty​(String s)
        Specified by:
        getProperty in interface org.opengis.feature.ComplexAttribute
      • validate

        public void validate()
                      throws org.opengis.feature.IllegalAttributeException
        Specified by:
        validate in interface org.opengis.feature.Attribute
        Specified by:
        validate in interface org.opengis.feature.ComplexAttribute
        Throws:
        org.opengis.feature.IllegalAttributeException
      • getIdentifier

        public org.opengis.filter.identity.FeatureId getIdentifier()
        Specified by:
        getIdentifier in interface org.opengis.feature.Attribute
        Specified by:
        getIdentifier in interface org.opengis.feature.Feature
      • getBounds

        public org.opengis.geometry.BoundingBox getBounds()
        Specified by:
        getBounds in interface org.opengis.feature.Feature
      • getDefaultGeometryProperty

        public org.opengis.feature.GeometryAttribute getDefaultGeometryProperty()
        Specified by:
        getDefaultGeometryProperty in interface org.opengis.feature.Feature
      • setDefaultGeometryProperty

        public void setDefaultGeometryProperty​(org.opengis.feature.GeometryAttribute geometryAttribute)
        Specified by:
        setDefaultGeometryProperty in interface org.opengis.feature.Feature
      • getFeatureType

        public org.opengis.feature.simple.SimpleFeatureType getFeatureType()
        Specified by:
        getFeatureType in interface org.opengis.feature.simple.SimpleFeature
      • getAttributes

        public List<Object> getAttributes()
        Specified by:
        getAttributes in interface org.opengis.feature.simple.SimpleFeature
      • setAttributes

        public void setAttributes​(List<Object> objects)
        Specified by:
        setAttributes in interface org.opengis.feature.simple.SimpleFeature
      • setAttributes

        public void setAttributes​(Object[] objects)
        Specified by:
        setAttributes in interface org.opengis.feature.simple.SimpleFeature
      • getAttribute

        public Object getAttribute​(String s)
        Specified by:
        getAttribute in interface org.opengis.feature.simple.SimpleFeature
      • setAttribute

        public void setAttribute​(String s,
                                 Object o)
        Specified by:
        setAttribute in interface org.opengis.feature.simple.SimpleFeature
      • getAttribute

        public Object getAttribute​(org.opengis.feature.type.Name name)
        Specified by:
        getAttribute in interface org.opengis.feature.simple.SimpleFeature
      • setAttribute

        public void setAttribute​(org.opengis.feature.type.Name name,
                                 Object o)
        Specified by:
        setAttribute in interface org.opengis.feature.simple.SimpleFeature
      • getAttributeCount

        public int getAttributeCount()
        Specified by:
        getAttributeCount in interface org.opengis.feature.simple.SimpleFeature
      • getDefaultGeometry

        public Object getDefaultGeometry()
        Specified by:
        getDefaultGeometry in interface org.opengis.feature.simple.SimpleFeature
      • setDefaultGeometry

        public void setDefaultGeometry​(Object o)
        Specified by:
        setDefaultGeometry in interface org.opengis.feature.simple.SimpleFeature