com.taskadapter.redmineapi.bean
Class Attachment

java.lang.Object
  extended by com.taskadapter.redmineapi.bean.Attachment
All Implemented Interfaces:
Identifiable

public class Attachment
extends Object
implements Identifiable

File Attachment for a Redmine issue

Author:
Matthias Paul Scholz

Constructor Summary
Attachment()
           
 
Method Summary
 boolean equals(Object o)
           
 User getAuthor()
           
 String getContentType()
           
 String getContentURL()
           
 Date getCreatedOn()
           
 String getDescription()
           
 String getFileName()
           
 long getFileSize()
           
 Integer getId()
           
 String getToken()
           
 int hashCode()
           
 void setAuthor(User author)
           
 void setContentType(String contentType)
           
 void setContentURL(String contentURL)
           
 void setCreatedOn(Date createdOn)
           
 void setDescription(String description)
           
 void setFileName(String fileName)
           
 void setFileSize(long fileSize)
           
 void setId(Integer id)
           
 void setToken(String token)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Attachment

public Attachment()
Method Detail

getId

public Integer getId()
Specified by:
getId in interface Identifiable

setId

public void setId(Integer id)

getContentType

public String getContentType()

setContentType

public void setContentType(String contentType)

getContentURL

public String getContentURL()

setContentURL

public void setContentURL(String contentURL)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getCreatedOn

public Date getCreatedOn()

setCreatedOn

public void setCreatedOn(Date createdOn)

getAuthor

public User getAuthor()

setAuthor

public void setAuthor(User author)

getFileName

public String getFileName()

setFileName

public void setFileName(String fileName)

getFileSize

public long getFileSize()

setFileSize

public void setFileSize(long fileSize)

getToken

public String getToken()

setToken

public void setToken(String token)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.