com.shephertz.app42.paas.sdk.jme.upload
Class Upload.File

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.jme.upload.Upload.File
Enclosing class:
Upload

public class Upload.File
extends java.lang.Object

An inner class that contains the remaining properties of Upload.


Field Summary
 java.lang.String description
           
 java.lang.String name
           
 java.lang.String tinyUrl
           
 java.lang.String type
           
 java.lang.String url
           
 java.lang.String userName
           
 
Constructor Summary
Upload.File()
          This is constructor that take no parameters
 
Method Summary
 java.lang.String getDescription()
          Returns the description of the Upload File.
 java.lang.String getName()
          Returns the name of the File.
 java.lang.String getTinyUrl()
          Returns the tinyUrl of the Upload File.
 java.lang.String getType()
          Returns the type of the Upload File.
 java.lang.String getUrl()
          Returns the url of the Upload File.
 java.lang.String getUserName()
          Returns the name of the User.
 void setDescription(java.lang.String description)
          Sets the description of the upload file.
 void setName(java.lang.String name)
          Sets the name of the file.
 void setTinyUrl(java.lang.String tinyUrl)
          TinyUrl of the upload file.
 void setType(java.lang.String type)
          Sets the type of the file to be uploaded.
 void setUrl(java.lang.String url)
          Url of the upload file.
 void setUserName(java.lang.String userName)
          Sets the name of the User for upload file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

public java.lang.String description

name

public java.lang.String name

tinyUrl

public java.lang.String tinyUrl

type

public java.lang.String type

url

public java.lang.String url

userName

public java.lang.String userName
Constructor Detail

Upload.File

public Upload.File()
This is constructor that take no parameters

Method Detail

getDescription

public java.lang.String getDescription()
Returns the description of the Upload File.

Returns:
the description of the Upload File.

getName

public java.lang.String getName()
Returns the name of the File.

Returns:
the name of the file.

getTinyUrl

public java.lang.String getTinyUrl()
Returns the tinyUrl of the Upload File.

Returns:
the tinyUrl of the Upload File.

getType

public java.lang.String getType()
Returns the type of the Upload File.

Returns:
the type of the Upload File.

getUrl

public java.lang.String getUrl()
Returns the url of the Upload File.

Returns:
the url of the Upload File.

getUserName

public java.lang.String getUserName()
Returns the name of the User.

Returns:
the name of the user.

setDescription

public void setDescription(java.lang.String description)
Sets the description of the upload file.

Parameters:
description - - Description of the file to be uploaded

setName

public void setName(java.lang.String name)
Sets the name of the file.

Parameters:
name - - name of the file

setTinyUrl

public void setTinyUrl(java.lang.String tinyUrl)
TinyUrl of the upload file.

Parameters:
tinyUrl - - TinyUrl of the file which has to be uploaded

setType

public void setType(java.lang.String type)
Sets the type of the file to be uploaded.

Parameters:
type - - The type of the file. File can be either Audio, Video, Image, csv or other Use the static constants e.g. Upload.AUDIO, Upload.XML etc.

setUrl

public void setUrl(java.lang.String url)
Url of the upload file.

Parameters:
url - - Url of the file which has to be uploaded

setUserName

public void setUserName(java.lang.String userName)
Sets the name of the User for upload file.

Parameters:
userName - - Name of the User for which file has to be saved