com.adobe.icc.dbforms.obj
Class Downloadable

java.lang.Object
  extended by com.adobe.icc.dbforms.obj.Downloadable
All Implemented Interfaces:
java.io.Serializable

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

POJO used to transfer across downloadable content (such as XDP, XML).

Used by the DownloadService APIs.

See Also:
DownloadService, Serialized Form

Constructor Summary
Downloadable()
          default constructor
Downloadable(java.lang.String objName, java.lang.String objFileName, byte[] objBytes)
          Constructor from parameters.
 
Method Summary
 java.lang.Byte[] getObjByteArray()
          Get the content of the Downloadable object as a Byte[].
 byte[] getObjBytes()
          Get the byte array content of the Downloadable object.
 java.lang.String getObjFileName()
          Get the file name of the Downloadable object.
 java.lang.String getObjName()
          Get the name of the Downloadable object.
 void setObjByteArray(java.lang.Byte[] byteArray)
          Sets the content of the Downloadable object as a Byte[].
 void setObjBytes(byte[] objBytes)
          Sets the byte array content of the Downloadable object.
 void setObjFileName(java.lang.String objFileName)
          Sets the file name of the Downloadable object.
 void setObjName(java.lang.String objName)
          Sets the name of the Downloadable object.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Downloadable

public Downloadable()
default constructor


Downloadable

public Downloadable(java.lang.String objName,
                    java.lang.String objFileName,
                    byte[] objBytes)
Constructor from parameters.

Parameters:
objName - name of downloadable object
objFileName - filename which is to be downloaded
objBytes - content of the downloadable object
Method Detail

getObjBytes

public byte[] getObjBytes()
Get the byte array content of the Downloadable object.

Returns:
The byte array content of the Downloadable object.

setObjBytes

public void setObjBytes(byte[] objBytes)
Sets the byte array content of the Downloadable object.

Parameters:
objBytes - The byte array content of the Downloadable object.

getObjByteArray

public java.lang.Byte[] getObjByteArray()
Get the content of the Downloadable object as a Byte[].

Returns:
The content of the Downloadable object as a Byte[].

setObjByteArray

public void setObjByteArray(java.lang.Byte[] byteArray)
Sets the content of the Downloadable object as a Byte[].

Parameters:
byteArray - The content of the Downloadable object as a Byte[].

getObjFileName

public java.lang.String getObjFileName()
Get the file name of the Downloadable object.

Returns:
The file name of the Downloadable object.

setObjFileName

public void setObjFileName(java.lang.String objFileName)
Sets the file name of the Downloadable object.

Parameters:
objFileName - The file name of the Downloadable object.

getObjName

public java.lang.String getObjName()
Get the name of the Downloadable object.

Returns:
the name of the Downloadable object.

setObjName

public void setObjName(java.lang.String objName)
Sets the name of the Downloadable object.

Parameters:
objName - The name of the Downloadable object.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


[an error occurred while processing this directive] [an error occurred while processing this directive]