Package com.esri.arcgisruntime.data
Class FeatureTemplate
- java.lang.Object
-
- com.esri.arcgisruntime.data.FeatureTemplate
-
public final class FeatureTemplate extends java.lang.Object
Represents a feature template which may contain default, also known as prototype, attribute values for anArcGISFeature
'sField
s.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 class
FeatureTemplate.DrawingTool
Represents a drawing tool which can be used to digitize geometries.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Gets the feature template description.FeatureTemplate.DrawingTool
getDrawingTool()
Gets an indication of the drawing tool that could be used to draw this feature in an editing application.java.lang.String
getName()
Gets the name of this template.java.util.Map<java.lang.String,java.lang.Object>
getPrototypeAttributes()
Gets ajava.util.Map
of default attribute values for a feature created with this template.
-
-
-
Method Detail
-
getDescription
public java.lang.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 java.lang.String getName()
Gets the name of this template.- Returns:
- the name of this template
- Since:
- 100.0.0
-
getPrototypeAttributes
public java.util.Map<java.lang.String,java.lang.Object> getPrototypeAttributes()
Gets ajava.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
-
-