Class FeatureType

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

public final class FeatureType extends Object
A feature type represents a class (sometimes called sub-type) of feature that can be contained in an ArcGISFeatureTable. An ArcGISFeatureTable can define many feature types.

Each feature type it is identified by its ID, which is stored in a field in the ArcGISFeatureTable. Each feature type may have a different set of FeatureTemplates, which define default attribute values for new features of that feature type.

Since:
100.0.0
  • Method Details

    • getDomains

      public Map<String,Domain> getDomains()
      Gets a java.util.Map of field names to domain instances.
      Returns:
      a unmodifiable map of field names to domain instances
      Since:
      100.0.0
    • getId

      public Object getId()
      Gets the ID of this feature type.

      The underlying type of the returned Object corresponds to the ID's Field.Type. If the ID is of type SHORT then this method returns a Short; for INTEGER this method returns a Integer, and so on.

      Returns:
      the ID of this feature type
      Since:
      100.0.0
    • getName

      public String getName()
      Gets the name of this feature type.
      Returns:
      the name of this feature type
      Since:
      100.0.0
    • getTemplates

      public List<FeatureTemplate> getTemplates()
      Gets a list of templates for this feature type.
      Returns:
      an unmodifiable list of templates for this feature type
      Since:
      100.0.0