org.exoplatform.services.wsrp.type
Class UploadContext

java.lang.Object
  extended by org.exoplatform.services.wsrp.type.UploadContext
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
UploadContext()
           
UploadContext(java.lang.String mimeType, byte[] uploadData, NamedString[] mimeAttributes, Extension[] extensions)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 Extension[] getExtensions()
          Gets the extensions value for this UploadContext.
 Extension getExtensions(int i)
           
 NamedString[] getMimeAttributes()
          Gets the mimeAttributes value for this UploadContext.
 NamedString getMimeAttributes(int i)
           
 java.lang.String getMimeType()
          Gets the mimeType value for this UploadContext.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 byte[] getUploadData()
          Gets the uploadData value for this UploadContext.
 int hashCode()
           
 void setExtensions(Extension[] extensions)
          Sets the extensions value for this UploadContext.
 void setExtensions(int i, Extension _value)
           
 void setMimeAttributes(int i, NamedString _value)
           
 void setMimeAttributes(NamedString[] mimeAttributes)
          Sets the mimeAttributes value for this UploadContext.
 void setMimeType(java.lang.String mimeType)
          Sets the mimeType value for this UploadContext.
 void setUploadData(byte[] uploadData)
          Sets the uploadData value for this UploadContext.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadContext

public UploadContext()

UploadContext

public UploadContext(java.lang.String mimeType,
                     byte[] uploadData,
                     NamedString[] mimeAttributes,
                     Extension[] extensions)
Method Detail

getMimeType

public java.lang.String getMimeType()
Gets the mimeType value for this UploadContext.

Returns:
mimeType

setMimeType

public void setMimeType(java.lang.String mimeType)
Sets the mimeType value for this UploadContext.

Parameters:
mimeType -

getUploadData

public byte[] getUploadData()
Gets the uploadData value for this UploadContext.

Returns:
uploadData

setUploadData

public void setUploadData(byte[] uploadData)
Sets the uploadData value for this UploadContext.

Parameters:
uploadData -

getMimeAttributes

public NamedString[] getMimeAttributes()
Gets the mimeAttributes value for this UploadContext.

Returns:
mimeAttributes

setMimeAttributes

public void setMimeAttributes(NamedString[] mimeAttributes)
Sets the mimeAttributes value for this UploadContext.

Parameters:
mimeAttributes -

getMimeAttributes

public NamedString getMimeAttributes(int i)

setMimeAttributes

public void setMimeAttributes(int i,
                              NamedString _value)

getExtensions

public Extension[] getExtensions()
Gets the extensions value for this UploadContext.

Returns:
extensions

setExtensions

public void setExtensions(Extension[] extensions)
Sets the extensions value for this UploadContext.

Parameters:
extensions -

getExtensions

public Extension getExtensions(int i)

setExtensions

public void setExtensions(int i,
                          Extension _value)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer



Copyright © 2011 eXo Platform SAS. All Rights Reserved.