Interface FeatureAttributeAdapter<T>


public interface FeatureAttributeAdapter<T>
Adapts a method call or combination of method calls on an object into a feature attribute lookup.
Author:
Nick Collier
  • Method Details

    • getAttributeName

      String getAttributeName()
      Gets the name of the attribute.
      Returns:
      the name of the attribute.
    • getAttribute

      Object getAttribute(T adaptee)
      Gets the value of the attribute.
      Parameters:
      adaptee - the object to get the attribute value from
      Returns:
      the value of the attribute.
    • setAttribute

      void setAttribute(T adaptee, Object val) throws org.opengis.feature.IllegalAttributeException
      Sets the value of the attribute.
      Parameters:
      adaptee - the object on which to set the attribute value
      val - the attribute value
      Throws:
      org.opengis.feature.IllegalAttributeException - if there is an error while setting the attribute
    • getAttributeType

      Class<?> getAttributeType()
      Gets the attribute type.
      Returns:
      the attribute type.