public class

GeodatabaseEditError

extends Object
implements Serializable
java.lang.Object
   ↳ com.esri.core.geodatabase.GeodatabaseEditError

Class Overview

Represents an error of a feature or attachment edit such as add, update or delete.

Summary

Nested Classes
enum GeodatabaseEditError.EditOperation Type of edit operation a GeodatabaseEditError instance represents. 
Public Methods
static GeodatabaseEditError fromJson(JsonParser parser)
Creates a GeodatabaseEditError instance from JSON.
String getAttachmentGlobalId()
Gets the GlobalID of the attachment if the error is for an attachment edit.
long getAttachmentObjectId()
Gets the ObjectID of the attachment if the error is for an attachment edit.
GeodatabaseEditError.EditOperation getEditOperation()
Gets the type of edit this error refers to.
FeatureEditError getError()
Gets the edit error, from which a description can be obtained.
String getGlobalId()
Gets the GlobalID of the feature this edit error refers to.
int getLayerId()
Gets the ID of the layer this edit error refers to.
long getObjectId()
Gets the ObjectID of the feature this edit error refers to.
String getParentTableName()
Gets the name of the parent feature table this edit error refers to if this is an attachment edit error.
String getTableName()
Gets the name of the table this edit error refers to.
boolean isAttachment()
Indicates whether or not this error is for an attachment.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static GeodatabaseEditError fromJson (JsonParser parser)

Creates a GeodatabaseEditError instance from JSON.

Parameters
parser JsonParser: the Jackson parser holding the JSON data.
Returns
GeodatabaseEditError the decoded object from JSON representation.
Throws
Exception

public String getAttachmentGlobalId ()

Gets the GlobalID of the attachment if the error is for an attachment edit.

Returns
String the GlobalID of the attachment if the error is for an attachment

public long getAttachmentObjectId ()

Gets the ObjectID of the attachment if the error is for an attachment edit.

Returns
long the ObjectID of the attachment if the error is for an attachment

public GeodatabaseEditError.EditOperation getEditOperation ()

Gets the type of edit this error refers to.

Returns
GeodatabaseEditError.EditOperation the type of edit this edit error represents

public FeatureEditError getError ()

Gets the edit error, from which a description can be obtained.

Returns
FeatureEditError the edit error

public String getGlobalId ()

Gets the GlobalID of the feature this edit error refers to. If this is an attachment edit error, this will be the GlobalID of its parent feature.

Returns
String the GlobalID

public int getLayerId ()

Gets the ID of the layer this edit error refers to.

Returns
int the ID of the layer this edit error refers to

public long getObjectId ()

Gets the ObjectID of the feature this edit error refers to. If this is an attachment edit error, this will be the ObjectID of its parent feature.

Returns
long the ObjectId

public String getParentTableName ()

Gets the name of the parent feature table this edit error refers to if this is an attachment edit error. This will be null for a feature edit error.

Returns
String the name of the parent feature table if this is an attachment

public String getTableName ()

Gets the name of the table this edit error refers to.

Returns
String the name of the table this error refers to

public boolean isAttachment ()

Indicates whether or not this error is for an attachment.

Returns
boolean true if this instance represents an edit error for an attachment, false otherwise

public String toString ()

Returns
String