org.xwiki.rest.model.jaxb
Class Page

java.lang.Object
  extended by org.xwiki.rest.model.jaxb.LinkCollection
      extended by org.xwiki.rest.model.jaxb.PageSummary
          extended by org.xwiki.rest.model.jaxb.Page

public class Page
extends PageSummary

Java class for Page complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Page">
   <complexContent>
     <extension base="{http://www.xwiki.org}PageSummary">
       <sequence>
         <element name="language" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="majorVersion" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="minorVersion" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="created" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="creator" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="modified" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="modifier" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="content" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String content
           
protected  java.util.Calendar created
           
protected  java.lang.String creator
           
protected  java.lang.String language
           
protected  int majorVersion
           
protected  int minorVersion
           
protected  java.util.Calendar modified
           
protected  java.lang.String modifier
           
protected  java.lang.String version
           
 
Fields inherited from class org.xwiki.rest.model.jaxb.PageSummary
fullName, id, name, parent, parentId, space, syntax, title, translations, wiki, xwikiAbsoluteUrl, xwikiRelativeUrl
 
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
 
Constructor Summary
Page()
           
 
Method Summary
 java.lang.String getContent()
          Gets the value of the content property.
 java.util.Calendar getCreated()
          Gets the value of the created property.
 java.lang.String getCreator()
          Gets the value of the creator property.
 java.lang.String getLanguage()
          Gets the value of the language property.
 int getMajorVersion()
          Gets the value of the majorVersion property.
 int getMinorVersion()
          Gets the value of the minorVersion property.
 java.util.Calendar getModified()
          Gets the value of the modified property.
 java.lang.String getModifier()
          Gets the value of the modifier property.
 java.lang.String getVersion()
          Gets the value of the version property.
 void setContent(java.lang.String value)
          Sets the value of the content property.
 void setCreated(java.util.Calendar value)
          Sets the value of the created property.
 void setCreator(java.lang.String value)
          Sets the value of the creator property.
 void setLanguage(java.lang.String value)
          Sets the value of the language property.
 void setMajorVersion(int value)
          Sets the value of the majorVersion property.
 void setMinorVersion(int value)
          Sets the value of the minorVersion property.
 void setModified(java.util.Calendar value)
          Sets the value of the modified property.
 void setModifier(java.lang.String value)
          Sets the value of the modifier property.
 void setVersion(java.lang.String value)
          Sets the value of the version property.
 Page withContent(java.lang.String value)
           
 Page withCreated(java.util.Calendar value)
           
 Page withCreator(java.lang.String value)
           
 Page withFullName(java.lang.String value)
           
 Page withId(java.lang.String value)
           
 Page withLanguage(java.lang.String value)
           
 Page withLinks(java.util.Collection<Link> values)
           
 Page withLinks(Link... values)
           
 Page withMajorVersion(int value)
           
 Page withMinorVersion(int value)
           
 Page withModified(java.util.Calendar value)
           
 Page withModifier(java.lang.String value)
           
 Page withName(java.lang.String value)
           
 Page withParent(java.lang.String value)
           
 Page withParentId(java.lang.String value)
           
 Page withSpace(java.lang.String value)
           
 Page withSyntax(java.lang.String value)
           
 Page withTitle(java.lang.String value)
           
 Page withTranslations(Translations value)
           
 Page withVersion(java.lang.String value)
           
 Page withWiki(java.lang.String value)
           
 Page withXwikiAbsoluteUrl(java.lang.String value)
           
 Page withXwikiRelativeUrl(java.lang.String value)
           
 
Methods inherited from class org.xwiki.rest.model.jaxb.PageSummary
getFullName, getId, getName, getParent, getParentId, getSpace, getSyntax, getTitle, getTranslations, getWiki, getXwikiAbsoluteUrl, getXwikiRelativeUrl, setFullName, setId, setName, setParent, setParentId, setSpace, setSyntax, setTitle, setTranslations, setWiki, setXwikiAbsoluteUrl, setXwikiRelativeUrl
 
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

language

protected java.lang.String language

version

protected java.lang.String version

majorVersion

protected int majorVersion

minorVersion

protected int minorVersion

created

protected java.util.Calendar created

creator

protected java.lang.String creator

modified

protected java.util.Calendar modified

modifier

protected java.lang.String modifier

content

protected java.lang.String content
Constructor Detail

Page

public Page()
Method Detail

getLanguage

public java.lang.String getLanguage()
Gets the value of the language property.

Returns:
possible object is String

setLanguage

public void setLanguage(java.lang.String value)
Sets the value of the language property.

Parameters:
value - allowed object is String

getVersion

public java.lang.String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(java.lang.String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

getMajorVersion

public int getMajorVersion()
Gets the value of the majorVersion property.


setMajorVersion

public void setMajorVersion(int value)
Sets the value of the majorVersion property.


getMinorVersion

public int getMinorVersion()
Gets the value of the minorVersion property.


setMinorVersion

public void setMinorVersion(int value)
Sets the value of the minorVersion property.


getCreated

public java.util.Calendar getCreated()
Gets the value of the created property.

Returns:
possible object is String

setCreated

public void setCreated(java.util.Calendar value)
Sets the value of the created property.

Parameters:
value - allowed object is String

getCreator

public java.lang.String getCreator()
Gets the value of the creator property.

Returns:
possible object is String

setCreator

public void setCreator(java.lang.String value)
Sets the value of the creator property.

Parameters:
value - allowed object is String

getModified

public java.util.Calendar getModified()
Gets the value of the modified property.

Returns:
possible object is String

setModified

public void setModified(java.util.Calendar value)
Sets the value of the modified property.

Parameters:
value - allowed object is String

getModifier

public java.lang.String getModifier()
Gets the value of the modifier property.

Returns:
possible object is String

setModifier

public void setModifier(java.lang.String value)
Sets the value of the modifier property.

Parameters:
value - allowed object is String

getContent

public java.lang.String getContent()
Gets the value of the content property.

Returns:
possible object is String

setContent

public void setContent(java.lang.String value)
Sets the value of the content property.

Parameters:
value - allowed object is String

withLanguage

public Page withLanguage(java.lang.String value)

withVersion

public Page withVersion(java.lang.String value)

withMajorVersion

public Page withMajorVersion(int value)

withMinorVersion

public Page withMinorVersion(int value)

withCreated

public Page withCreated(java.util.Calendar value)

withCreator

public Page withCreator(java.lang.String value)

withModified

public Page withModified(java.util.Calendar value)

withModifier

public Page withModifier(java.lang.String value)

withContent

public Page withContent(java.lang.String value)

withId

public Page withId(java.lang.String value)
Overrides:
withId in class PageSummary

withFullName

public Page withFullName(java.lang.String value)
Overrides:
withFullName in class PageSummary

withWiki

public Page withWiki(java.lang.String value)
Overrides:
withWiki in class PageSummary

withSpace

public Page withSpace(java.lang.String value)
Overrides:
withSpace in class PageSummary

withName

public Page withName(java.lang.String value)
Overrides:
withName in class PageSummary

withTitle

public Page withTitle(java.lang.String value)
Overrides:
withTitle in class PageSummary

withParent

public Page withParent(java.lang.String value)
Overrides:
withParent in class PageSummary

withParentId

public Page withParentId(java.lang.String value)
Overrides:
withParentId in class PageSummary

withXwikiRelativeUrl

public Page withXwikiRelativeUrl(java.lang.String value)
Overrides:
withXwikiRelativeUrl in class PageSummary

withXwikiAbsoluteUrl

public Page withXwikiAbsoluteUrl(java.lang.String value)
Overrides:
withXwikiAbsoluteUrl in class PageSummary

withTranslations

public Page withTranslations(Translations value)
Overrides:
withTranslations in class PageSummary

withSyntax

public Page withSyntax(java.lang.String value)
Overrides:
withSyntax in class PageSummary

withLinks

public Page withLinks(Link... values)
Overrides:
withLinks in class PageSummary

withLinks

public Page withLinks(java.util.Collection<Link> values)
Overrides:
withLinks in class PageSummary


Copyright © 2004-2010 XWiki. All Rights Reserved.