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="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="creatorName" 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="modifierName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="comment" 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  String comment
           
protected  String content
           
protected  Calendar created
           
protected  String creator
           
protected  String creatorName
           
protected  String language
           
protected  int majorVersion
           
protected  int minorVersion
           
protected  Calendar modified
           
protected  String modifier
           
protected  String modifierName
           
 
Fields inherited from class org.xwiki.rest.model.jaxb.PageSummary
author, authorName, fullName, id, name, parent, parentId, space, syntax, title, translations, version, wiki, xwikiAbsoluteUrl, xwikiRelativeUrl
 
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
 
Constructor Summary
Page()
           
 
Method Summary
 String getComment()
          Gets the value of the comment property.
 String getContent()
          Gets the value of the content property.
 Calendar getCreated()
          Gets the value of the created property.
 String getCreator()
          Gets the value of the creator property.
 String getCreatorName()
          Gets the value of the creatorName property.
 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.
 Calendar getModified()
          Gets the value of the modified property.
 String getModifier()
          Gets the value of the modifier property.
 String getModifierName()
          Gets the value of the modifierName property.
 void setComment(String value)
          Sets the value of the comment property.
 void setContent(String value)
          Sets the value of the content property.
 void setCreated(Calendar value)
          Sets the value of the created property.
 void setCreator(String value)
          Sets the value of the creator property.
 void setCreatorName(String value)
          Sets the value of the creatorName property.
 void setLanguage(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(Calendar value)
          Sets the value of the modified property.
 void setModifier(String value)
          Sets the value of the modifier property.
 void setModifierName(String value)
          Sets the value of the modifierName property.
 Page withAuthor(String value)
           
 Page withAuthorName(String value)
           
 Page withComment(String value)
           
 Page withContent(String value)
           
 Page withCreated(Calendar value)
           
 Page withCreator(String value)
           
 Page withCreatorName(String value)
           
 Page withFullName(String value)
           
 Page withId(String value)
           
 Page withLanguage(String value)
           
 Page withLinks(Collection<Link> values)
           
 Page withLinks(Link... values)
           
 Page withMajorVersion(int value)
           
 Page withMinorVersion(int value)
           
 Page withModified(Calendar value)
           
 Page withModifier(String value)
           
 Page withModifierName(String value)
           
 Page withName(String value)
           
 Page withParent(String value)
           
 Page withParentId(String value)
           
 Page withSpace(String value)
           
 Page withSyntax(String value)
           
 Page withTitle(String value)
           
 Page withTranslations(Translations value)
           
 Page withVersion(String value)
           
 Page withWiki(String value)
           
 Page withXwikiAbsoluteUrl(String value)
           
 Page withXwikiRelativeUrl(String value)
           
 
Methods inherited from class org.xwiki.rest.model.jaxb.PageSummary
getAuthor, getAuthorName, getFullName, getId, getName, getParent, getParentId, getSpace, getSyntax, getTitle, getTranslations, getVersion, getWiki, getXwikiAbsoluteUrl, getXwikiRelativeUrl, setAuthor, setAuthorName, setFullName, setId, setName, setParent, setParentId, setSpace, setSyntax, setTitle, setTranslations, setVersion, 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 String language

majorVersion

protected int majorVersion

minorVersion

protected int minorVersion

created

protected Calendar created

creator

protected String creator

creatorName

protected String creatorName

modified

protected Calendar modified

modifier

protected String modifier

modifierName

protected String modifierName

comment

protected String comment

content

protected String content
Constructor Detail

Page

public Page()
Method Detail

getLanguage

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

Returns:
possible object is String

setLanguage

public void setLanguage(String value)
Sets the value of the language 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 Calendar getCreated()
Gets the value of the created property.

Returns:
possible object is String

setCreated

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

Parameters:
value - allowed object is String

getCreator

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

Returns:
possible object is String

setCreator

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

Parameters:
value - allowed object is String

getCreatorName

public String getCreatorName()
Gets the value of the creatorName property.

Returns:
possible object is String

setCreatorName

public void setCreatorName(String value)
Sets the value of the creatorName property.

Parameters:
value - allowed object is String

getModified

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

Returns:
possible object is String

setModified

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

Parameters:
value - allowed object is String

getModifier

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

Returns:
possible object is String

setModifier

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

Parameters:
value - allowed object is String

getModifierName

public String getModifierName()
Gets the value of the modifierName property.

Returns:
possible object is String

setModifierName

public void setModifierName(String value)
Sets the value of the modifierName property.

Parameters:
value - allowed object is String

getComment

public String getComment()
Gets the value of the comment property.

Returns:
possible object is String

setComment

public void setComment(String value)
Sets the value of the comment property.

Parameters:
value - allowed object is String

getContent

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

Returns:
possible object is String

setContent

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

Parameters:
value - allowed object is String

withLanguage

public Page withLanguage(String value)

withMajorVersion

public Page withMajorVersion(int value)

withMinorVersion

public Page withMinorVersion(int value)

withCreated

public Page withCreated(Calendar value)

withCreator

public Page withCreator(String value)

withCreatorName

public Page withCreatorName(String value)

withModified

public Page withModified(Calendar value)

withModifier

public Page withModifier(String value)

withModifierName

public Page withModifierName(String value)

withComment

public Page withComment(String value)

withContent

public Page withContent(String value)

withId

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

withFullName

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

withWiki

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

withSpace

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

withName

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

withTitle

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

withParent

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

withParentId

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

withVersion

public Page withVersion(String value)
Overrides:
withVersion in class PageSummary

withAuthor

public Page withAuthor(String value)
Overrides:
withAuthor in class PageSummary

withAuthorName

public Page withAuthorName(String value)
Overrides:
withAuthorName in class PageSummary

withXwikiRelativeUrl

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

withXwikiAbsoluteUrl

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

withTranslations

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

withSyntax

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

withLinks

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

withLinks

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


Copyright © 2004-2013 XWiki. All Rights Reserved.