Package com.esri.arcgisruntime.data
Class FeatureType
- java.lang.Object
-
- com.esri.arcgisruntime.data.FeatureType
-
public final class FeatureType extends java.lang.ObjectA feature type represents a class (sometimes called sub-type) of feature that can be contained in anArcGISFeatureTable. 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 ajava.util.Mapof field names to domain instances.java.lang.ObjectgetId()Gets the ID of this feature type.java.lang.StringgetName()Gets the name of this feature type.java.util.List<FeatureTemplate>getTemplates()Gets a list of templates for this feature type.
-
-
-
Method Detail
-
getDomains
public java.util.Map<java.lang.String,Domain> getDomains()
Gets ajava.util.Mapof 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
-
-