Class EditFieldsInfo


  • public final class EditFieldsInfo
    extends java.lang.Object
    Represents information about editor tracking fields: creationDateField, creatorField, editDateField, editorField and realm. These fields contain information about who created/edited the feature and when was it created/edited. If the field names return empty strings, then editor tracking is not enabled on the layer.
    Since:
    100.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCreationDateField()
      Gets the name of the field that stores the date and time the feature was created.
      java.lang.String getCreatorField()
      Gets the name of the field that stores the user who created the feature.
      java.lang.String getEditDateField()
      Gets the name of the field that stores the date and time the feature was last edited.
      java.lang.String getEditorField()
      Gets the name of the field that stores the user who last edited the feature.
      java.lang.String getRealm()
      Gets the realm that will be appended to the name of the user who makes the edit.
      • Methods inherited from class java.lang.Object

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

      • getCreationDateField

        public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String getRealm()
        Gets the realm that will be appended to the name of the user who makes the edit. For example, consider the case that logged-in user Sarah adds a new feature. The creator is set in the geodatabase as Sarah. If you configure the feature service to use the realm @server, subsequent edits appear in the database under the name Sarah@server.
        Returns:
        the realm, or emptry string if editor tracking is not enabled
        Since:
        100.0.0