com.esri.arcgisws
Class AttachmentInfo

java.lang.Object
  extended by com.esri.arcgisws.AttachmentInfo
All Implemented Interfaces:
java.io.Serializable

public class AttachmentInfo
extends java.lang.Object
implements java.io.Serializable

Esri AttachmentInfo Object.

Java class for AttachmentInfo complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="AttachmentInfo">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="AttachmentID" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="ParentID" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="ContentType" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Size" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Esri AttachmentInfo Object.

See Also:
Serialized Form

Constructor Summary
AttachmentInfo()
          AttachmentInfo default constructor.
AttachmentInfo(int attachmentID, int parentID, java.lang.String name, java.lang.String contentType, int size)
          Deprecated. 
 
Method Summary
 int getAttachmentID()
          ID that uniquely identifies an attachment.
 java.lang.String getContentType()
          Content type that indicates the type of the mime content.
 java.lang.String getName()
          Descriptive name of an attachment.
 int getParentID()
          The source id that to which the attachment is associated to.
 int getSize()
          The size of the attachment.
 void setAttachmentID(int value)
          ID that uniquely identifies an attachment.
 void setContentType(java.lang.String value)
          Content type that indicates the type of the mime content.
 void setName(java.lang.String value)
          Descriptive name of an attachment.
 void setParentID(int value)
          The source id that to which the attachment is associated to.
 void setSize(int value)
          The size of the attachment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentInfo

@Deprecated
public AttachmentInfo(int attachmentID,
                                 int parentID,
                                 java.lang.String name,
                                 java.lang.String contentType,
                                 int size)
Deprecated. 

AttachmentInfo constructor.


AttachmentInfo

public AttachmentInfo()
AttachmentInfo default constructor.

Method Detail

getAttachmentID

public int getAttachmentID()
ID that uniquely identifies an attachment. Gets the value of the attachmentID property.


setAttachmentID

public void setAttachmentID(int value)
ID that uniquely identifies an attachment. Sets the value of the attachmentID property.


getParentID

public int getParentID()
The source id that to which the attachment is associated to. Gets the value of the parentID property.


setParentID

public void setParentID(int value)
The source id that to which the attachment is associated to. Sets the value of the parentID property.


getName

public java.lang.String getName()
Descriptive name of an attachment. Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Descriptive name of an attachment. Sets the value of the name property.

Parameters:
value - allowed object is String

getContentType

public java.lang.String getContentType()
Content type that indicates the type of the mime content. Gets the value of the contentType property.

Returns:
possible object is String

setContentType

public void setContentType(java.lang.String value)
Content type that indicates the type of the mime content. Sets the value of the contentType property.

Parameters:
value - allowed object is String

getSize

public int getSize()
The size of the attachment. Gets the value of the size property.


setSize

public void setSize(int value)
The size of the attachment. Sets the value of the size property.