Class FeatureTemplate

java.lang.Object
com.esri.arcgisruntime.data.FeatureTemplate

public final class FeatureTemplate extends Object
Represents a feature template which may contain default, also known as prototype, attribute values for an ArcGISFeature's Fields.

Use ArcGISFeatureTable.getFeatureTemplates() and ArcGISFeatureTable.getFeatureTypes() to get the templates available then use the template to create a feature by calling ArcGISFeatureTable.createFeature(FeatureTemplate).

Since:
100.0.0
  • Method Details

    • getDescription

      public String getDescription()
      Gets the feature template description.
      Returns:
      the description
      Since:
      100.0.0
    • getDrawingTool

      public FeatureTemplate.DrawingTool getDrawingTool()
      Gets an indication of the drawing tool that could be used to draw this feature in an editing application.
      Returns:
      drawing tool that could be used to draw this feature
      Since:
      100.0.0
    • getName

      public String getName()
      Gets the name of this template.
      Returns:
      the name of this template
      Since:
      100.0.0
    • getPrototypeAttributes

      public Map<String,Object> getPrototypeAttributes()
      Gets a java.util.Map of default attribute values for a feature created with this template.
      Returns:
      a unmodifiable map of attribute names and their values
      Since:
      100.0.0