public class

AttachmentInfo

extends Object
implements Serializable
java.lang.Object
   ↳ com.esri.core.map.AttachmentInfo

Class Overview

Information about an attachment associated with a feature.

Summary

Public Constructors
AttachmentInfo()
Public Methods
static AttachmentInfo fromJson(JsonParser parser)
Decodes objects from JSON representation.
String getContentType()
Gets the contentType of the Attachment.
long getId()
Gets the id of the Attachment.
String getName()
Gets the name of the Attachment.
long getSize()
Gets the size of the Attachment.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AttachmentInfo ()

Public Methods

public static AttachmentInfo fromJson (JsonParser parser)

Decodes objects from JSON representation.

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

public String getContentType ()

Gets the contentType of the Attachment.

Returns
String Returns the contentType.

public long getId ()

Gets the id of the Attachment.

Returns
long Returns the id.

public String getName ()

Gets the name of the Attachment.

Returns
String Returns the name.

public long getSize ()

Gets the size of the Attachment.

Returns
long Returns the size.

public String toString ()

Returns
String