java.lang.Object
com.esri.arcgisruntime.data.FeatureSubtype
Defines a feature subtype.
Subtypes are a subset of features in a feature class, or objects in a table, that share the same attributes. They are used as a method to categorize your data.
- Since:
- 100.3.0
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Gets the feature subtype's code.Gets the domains associated with this feature subtype.Gets the fields defined for this feature subtype.getName()
Gets the name of the feature subtype.Gets the prototype attributes for creating a Feature with this subtype.
-
Method Details
-
getName
Gets the name of the feature subtype.- Returns:
- the name of the feature subtype
- Since:
- 100.3.0
-
getCode
Gets the feature subtype's code.The feature subtypes have a paired code and value. For example, the following codes in a subtype named RoadClass could represent valid classes in a feature class for streets:
- 0 - Local Streets
- 1 - Secondary Streets
- 2 - Main Streets
- Returns:
- the code of the feature subtype
- Since:
- 100.3.0
-
getDomains
Gets the domains associated with this feature subtype.- Returns:
- an unmodifiable Map; the keys are Strings containing the names of fields and the values are Domains applicable to these fields
- Since:
- 100.3.0
- See Also:
-
getFieldOverrides
Gets the fields defined for this feature subtype.A subset of
FeatureTable.getFields()
relevant to this feature subtype. This collection ofField
may override properties defined in theFeatureTable.getFields()
. For example,Field.getAlias()
,Field.isEditable()
, andField.getDomain()
.- Returns:
- an unmodifiable list of the fields defined for this feature subtype
- Since:
- 100.9.0
-
getPrototypeAttributes
Gets the prototype attributes for creating a Feature with this subtype.- Returns:
- an unmodifiable Map; the keys are Strings containing attribute names and the values are Objects to be assigned to these attributes
- Since:
- 100.3.0
-