Class EditFieldsInfo

java.lang.Object
com.esri.arcgisruntime.arcgisservices.EditFieldsInfo

public final class EditFieldsInfo extends Object
The fields that record who adds or edits the features and when the edits are made.

These editing fields are defined when the data owner enables editor tracking on the feature service. For more information, see Editor tracking for feature services.

You can obtain the EditFieldsInfo from ArcGISFeatureLayerInfo.getEditFieldsInfo(). This information is recorded if EditorTrackingInfo.isEditorTrackingEnabled() is true.

Since:
100.0.0
  • Method Details

    • getCreationDateField

      public String getCreationDateField()
      Gets the name of the field that stores the date and time the feature was created.
      Returns:
      the creation date field name, or emptry string if editor tracking is not enabled
      Since:
      100.0.0
    • getCreatorField

      public String getCreatorField()
      Gets the name of the field that stores the user who created the feature.
      Returns:
      the creator field name, or emptry string if editor tracking is not enabled
      Since:
      100.0.0
    • getEditDateField

      public String getEditDateField()
      Gets the name of the field that stores the date and time the feature was last edited.
      Returns:
      the edit date field name, or emptry string if editor tracking is not enabled
      Since:
      100.0.0
    • getEditorField

      public String getEditorField()
      Gets the name of the field that stores the user who last edited the feature.
      Returns:
      the editor field name, or emptry string if editor tracking is not enabled
      Since:
      100.0.0
    • getRealm

      public String getRealm()
      Gets the realm, which is a string that uniquely identifies an editor and how they edited the data.

      Realms can be used to differentiate edits made through a feature service as opposed to those made directly to the data in the geodatabase. If a realm string is present, it is appended to the username using the "@" character. For example, a realm string of "denver" is appended to the user "John" to give a user name of "John@denver". For more information, see Configure a realm for a feature service.

      Returns:
      the realm, or emptry string if editor tracking is not enabled
      Since:
      100.0.0