Package com.esri.arcgisruntime.data
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 anArcGISFeature'sFields.Use
ArcGISFeatureTable.getFeatureTemplates()andArcGISFeatureTable.getFeatureTypes()to get the templates available then use the template to create a feature by callingArcGISFeatureTable.createFeature(FeatureTemplate).- Since:
- 100.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeatureTemplate.DrawingToolRepresents a drawing tool which can be used to digitize geometries.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Gets the feature template description.FeatureTemplate.DrawingToolgetDrawingTool()Gets an indication of the drawing tool that could be used to draw this feature in an editing application.StringgetName()Gets the name of this template.Map<String,Object>getPrototypeAttributes()Gets ajava.util.Mapof default attribute values for a feature created with this template.
-
-
-
Method Detail
-
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
-
-