public class

EditInfo

extends Object
java.lang.Object
   ↳ com.esri.core.map.EditInfo

Class Overview

Represents the editing info for a graphic in a feature layer, including a user ID, an editing action type, and a date value.

Summary

Nested Classes
enum EditInfo.ACTION_TYPE The type of editing action. 
enum EditInfo.DATE_DISPLAY_PATTERN Enum representing how the date will be displayed based on the date's value. 
Public Constructors
EditInfo(String userId, long dateMillis, EditInfo.ACTION_TYPE action)
Constructs an EditInfo object with a user ID, a date in milliseconds, and an EditInfo.ACTION_TYPE.
Public Methods
EditInfo.ACTION_TYPE getAction()
Gets the action type.
long getDateValue()
Gets the date value.
EditInfo.DATE_DISPLAY_PATTERN getDisplayPattern()
Gets the display pattern for the date.
String getUserId()
Gets the user ID.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public EditInfo (String userId, long dateMillis, EditInfo.ACTION_TYPE action)

Constructs an EditInfo object with a user ID, a date in milliseconds, and an EditInfo.ACTION_TYPE.

Parameters
userId String: the user id
dateMillis long: the date in milliseconds
action EditInfo.ACTION_TYPE: the action type

Public Methods

public EditInfo.ACTION_TYPE getAction ()

Gets the action type.

Returns
EditInfo.ACTION_TYPE the action type

public long getDateValue ()

Gets the date value.

Returns
long the date value in milliseconds

public EditInfo.DATE_DISPLAY_PATTERN getDisplayPattern ()

Gets the display pattern for the date.

Returns
EditInfo.DATE_DISPLAY_PATTERN the display pattern for the date

public String getUserId ()

Gets the user ID.

Returns
String the user ID

public String toString ()

Returns
String