org.nuiton.jredmine.model
Class Attachment

java.lang.Object
  extended by org.nuiton.jredmine.model.Attachment
All Implemented Interfaces:
IdAble

public class Attachment
extends Object
implements IdAble

A file attachment from redmine server.

Since:
1.0.0
Author:
tchemit

Field Summary
protected  int authorId
           
protected  int containerId
           
protected  String containerType
           
protected  String contentType
           
protected  Date createdOn
           
protected  String description
           
protected  String digest
           
protected  String diskFilename
           
protected  int downloads
           
protected  String filename
           
protected  int filesize
           
protected  int id
           
protected  File toUpload
          not from redmine but to redmine (file to attach)
 
Constructor Summary
Attachment()
           
 
Method Summary
 int getAuthorId()
           
 int getContainerId()
           
 String getContainerType()
           
 String getContentType()
           
 Date getCreatedOn()
           
 String getDescription()
           
 String getDigest()
           
 String getDiskFilename()
           
 int getDownloads()
           
 String getFilename()
           
 int getFilesize()
           
 int getId()
           
 File getToUpload()
           
 void setAuthorId(int authorId)
           
 void setContainerId(int containerId)
           
 void setContainerType(String containerType)
           
 void setContentType(String contentType)
           
 void setCreatedOn(Date createdOn)
           
 void setDescription(String description)
           
 void setDigest(String digest)
           
 void setDiskFilename(String diskFilename)
           
 void setDownloads(int downloads)
           
 void setFilename(String filename)
           
 void setFilesize(int filesize)
           
 void setId(int id)
           
 void setToUpload(File toUpload)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected int id

authorId

protected int authorId

containerId

protected int containerId

filesize

protected int filesize

downloads

protected int downloads

createdOn

protected Date createdOn

containerType

protected String containerType

contentType

protected String contentType

description

protected String description

digest

protected String digest

diskFilename

protected String diskFilename

filename

protected String filename

toUpload

protected File toUpload
not from redmine but to redmine (file to attach)

Constructor Detail

Attachment

public Attachment()
Method Detail

getAuthorId

public int getAuthorId()

getContainerId

public int getContainerId()

getContainerType

public String getContainerType()

getContentType

public String getContentType()

getCreatedOn

public Date getCreatedOn()

getDescription

public String getDescription()

getDigest

public String getDigest()

getDiskFilename

public String getDiskFilename()

getDownloads

public int getDownloads()

getFilename

public String getFilename()

getFilesize

public int getFilesize()

getId

public int getId()
Specified by:
getId in interface IdAble

getToUpload

public File getToUpload()

setAuthorId

public void setAuthorId(int authorId)

setContainerId

public void setContainerId(int containerId)

setContainerType

public void setContainerType(String containerType)

setContentType

public void setContentType(String contentType)

setCreatedOn

public void setCreatedOn(Date createdOn)

setDescription

public void setDescription(String description)

setDigest

public void setDigest(String digest)

setDiskFilename

public void setDiskFilename(String diskFilename)

setDownloads

public void setDownloads(int downloads)

setFilename

public void setFilename(String filename)

setFilesize

public void setFilesize(int filesize)

setId

public void setId(int id)

setToUpload

public void setToUpload(File toUpload)


Copyright © 2009-2011 CodeLutin. All Rights Reserved.