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.

Since:
1.0
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
clone, equals, finalize, 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.
Since:
1.0

getContentType

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

Returns:
Returns the contentType.
Since:
1.0

getSize

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

Returns:
Returns the size.
Since:
1.0

getName

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

Returns:
Returns the name.
Since:
1.0

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
Since:
1.0

toString

public String toString()
Overrides:
toString in class Object
Since:
1.0


Copyright © 2012. All Rights Reserved.