public class Attachment extends LinkCollection
Java class for Attachment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Attachment">
<complexContent>
<extension base="{http://www.xwiki.org}LinkCollection">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="size" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="pageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="pageVersion" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="author" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="xwikiRelativeUrl" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="xwikiAbsoluteUrl" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
author |
protected Calendar |
date |
protected String |
id |
protected String |
mimeType |
protected String |
name |
protected String |
pageId |
protected String |
pageVersion |
protected int |
size |
protected String |
version |
protected String |
xwikiAbsoluteUrl |
protected String |
xwikiRelativeUrl |
links| Constructor and Description |
|---|
Attachment() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor()
Gets the value of the author property.
|
Calendar |
getDate()
Gets the value of the date property.
|
String |
getId()
Gets the value of the id property.
|
String |
getMimeType()
Gets the value of the mimeType property.
|
String |
getName()
Gets the value of the name property.
|
String |
getPageId()
Gets the value of the pageId property.
|
String |
getPageVersion()
Gets the value of the pageVersion property.
|
int |
getSize()
Gets the value of the size property.
|
String |
getVersion()
Gets the value of the version property.
|
String |
getXwikiAbsoluteUrl()
Gets the value of the xwikiAbsoluteUrl property.
|
String |
getXwikiRelativeUrl()
Gets the value of the xwikiRelativeUrl property.
|
void |
setAuthor(String value)
Sets the value of the author property.
|
void |
setDate(Calendar value)
Sets the value of the date property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setMimeType(String value)
Sets the value of the mimeType property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPageId(String value)
Sets the value of the pageId property.
|
void |
setPageVersion(String value)
Sets the value of the pageVersion property.
|
void |
setSize(int value)
Sets the value of the size property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
void |
setXwikiAbsoluteUrl(String value)
Sets the value of the xwikiAbsoluteUrl property.
|
void |
setXwikiRelativeUrl(String value)
Sets the value of the xwikiRelativeUrl property.
|
getLinksprotected String id
protected String name
protected int size
protected String version
protected String pageId
protected String pageVersion
protected String mimeType
protected String author
protected Calendar date
protected String xwikiRelativeUrl
protected String xwikiAbsoluteUrl
public void setId(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic int getSize()
public void setSize(int value)
public String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic String getPageId()
Stringpublic void setPageId(String value)
value - allowed object is
Stringpublic String getPageVersion()
Stringpublic void setPageVersion(String value)
value - allowed object is
Stringpublic String getMimeType()
Stringpublic void setMimeType(String value)
value - allowed object is
Stringpublic String getAuthor()
Stringpublic void setAuthor(String value)
value - allowed object is
Stringpublic Calendar getDate()
Stringpublic void setDate(Calendar value)
value - allowed object is
Stringpublic String getXwikiRelativeUrl()
Stringpublic void setXwikiRelativeUrl(String value)
value - allowed object is
Stringpublic String getXwikiAbsoluteUrl()
StringCopyright © 2003–2015 eXo Platform SAS. All rights reserved.