Class FeatureType


  • public final class FeatureType
    extends java.lang.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 Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​Domain> getDomains()
      Gets a java.util.Map of field names to domain instances.
      java.lang.Object getId()
      Gets the ID of this feature type.
      java.lang.String getName()
      Gets the name of this feature type.
      java.util.List<FeatureTemplate> getTemplates()
      Gets a list of templates for this feature type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getDomains

        public java.util.Map<java.lang.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 java.lang.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 java.lang.String getName()
        Gets the name of this feature type.
        Returns:
        the name of this feature type
        Since:
        100.0.0
      • getTemplates

        public java.util.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