站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

AttachmentImpl - JBOSS Portal 2.4 API 英文版文档


org.jboss.portlet.forums.impl
Class AttachmentImpl

java.lang.Object
  extended byorg.jboss.portlet.forums.impl.AttachmentImpl
All Implemented Interfaces:
Attachment, java.io.Serializable

public class AttachmentImpl
extends java.lang.Object
implements Attachment, java.io.Serializable

Created on 29 juil. 2004

See Also:
Serialized Form

Constructor Summary
AttachmentImpl()
           
 
Method Summary
 java.lang.String getComment()
           
 UploadedFile getFile()
           
 java.lang.Integer getId()
           
 Post getPost()
           
 void setComment(java.lang.String comment)
           
 void setFile(UploadedFile file)
           
 void setId(java.lang.Integer id)
           
 void setPost(Post post)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentImpl

public AttachmentImpl()
Method Detail

getComment

public java.lang.String getComment()
Specified by:
getComment in interface Attachment

setComment

public void setComment(java.lang.String comment)
Specified by:
setComment in interface Attachment
Parameters:
comment - The comment to set.

getFile

public UploadedFile getFile()
Specified by:
getFile in interface Attachment

setFile

public void setFile(UploadedFile file)
Specified by:
setFile in interface Attachment
Parameters:
file - The file to set.

getId

public java.lang.Integer getId()
Specified by:
getId in interface Attachment

setId

public void setId(java.lang.Integer id)

getPost

public Post getPost()
Specified by:
getPost in interface Attachment

setPost

public void setPost(Post post)
Specified by:
setPost in interface Attachment