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.
int 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 the Jackson parser holding the JSON data.
Returns
  • the decoded object from JSON representation.
Throws
Exception

public String getContentType ()

Gets the contentType of the Attachment.

Returns
  • Returns the contentType.

public int getId ()

Gets the id of the Attachment.

Returns
  • Returns the id.

public String getName ()

Gets the name of the Attachment.

Returns
  • Returns the name.

public long getSize ()

Gets the size of the Attachment.

Returns
  • Returns the size.

public String toString ()