com.xpn.xwiki.doc
Class XWikiAttachmentContent

java.lang.Object
  extended by com.xpn.xwiki.doc.XWikiAttachmentContent

public class XWikiAttachmentContent
extends java.lang.Object


Field Summary
private  XWikiAttachment attachment
           
private  byte[] content
           
private  boolean isContentDirty
           
 
Constructor Summary
XWikiAttachmentContent()
           
XWikiAttachmentContent(XWikiAttachment attachment)
           
 
Method Summary
 java.lang.Object clone()
           
 XWikiAttachment getAttachment()
           
 byte[] getContent()
           
 long getId()
           
 boolean isContentDirty()
           
 void setAttachment(XWikiAttachment attachment)
           
 void setContent(byte[] content)
           
 void setContentDirty(boolean contentDirty)
           
 void setId(long id)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attachment

private XWikiAttachment attachment

content

private byte[] content

isContentDirty

private boolean isContentDirty
Constructor Detail

XWikiAttachmentContent

public XWikiAttachmentContent(XWikiAttachment attachment)

XWikiAttachmentContent

public XWikiAttachmentContent()
Method Detail

getId

public long getId()

setId

public void setId(long id)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getContent

public byte[] getContent()

setContent

public void setContent(byte[] content)

getAttachment

public XWikiAttachment getAttachment()

setAttachment

public void setAttachment(XWikiAttachment attachment)

isContentDirty

public boolean isContentDirty()

setContentDirty

public void setContentDirty(boolean contentDirty)


Copyright 2003 Ludovic Dubost