com.esri.core.map
Class AttachmentInfo

java.lang.Object
  extended by com.esri.core.map.AttachmentInfo
All Implemented Interfaces:
Serializable

public class AttachmentInfo
extends Object
implements Serializable

Information about an attachment associated with a feature.

See Also:
Serialized Form

Constructor Summary
AttachmentInfo()
           
 
Method Summary
static AttachmentInfo fromJson(org.codehaus.jackson.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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttachmentInfo

public AttachmentInfo()
Method Detail

getId

public int getId()
Gets the id of the Attachment.

Returns:
Returns the id.

getContentType

public String getContentType()
Gets the contentType of the Attachment.

Returns:
Returns the contentType.

getSize

public long getSize()
Gets the size of the Attachment.

Returns:
Returns the size.

getName

public String getName()
Gets the name of the Attachment.

Returns:
Returns the name.

fromJson

public static AttachmentInfo fromJson(org.codehaus.jackson.JsonParser parser)
                               throws Exception
Decodes objects from JSON representation.

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.