当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
AttachmentImpl - JBOSS Portal 2.6 API 英文版文档
org.jboss.portlet.forums.impl
Class AttachmentImpl
java.lang.Object
org.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
- Author:
- theute, Boleslaw Dawidowicz $Revision: 5448 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
private java.lang.Integer id
file
private UploadedFile file
comment
private java.lang.String comment
post
private Post post
AttachmentImpl
public AttachmentImpl()
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