org.xwiki.rest.model.jaxb
Class SearchResult

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

public class SearchResult
extends LinkCollection

Java class for SearchResult complex type.

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

 <complexType name="SearchResult">
   <complexContent>
     <extension base="{http://www.xwiki.org}LinkCollection">
       <sequence>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="pageFullName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="wiki" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="space" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="pageName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="modified" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="author" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="authorName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="language" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="className" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="objectNumber" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="filename" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="score" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
         <element name="object" type="{http://www.xwiki.org}Object" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String author
           
protected  String authorName
           
protected  String className
           
protected  String filename
           
protected  String id
           
protected  String language
           
protected  Calendar modified
           
protected  Object object
           
protected  Integer objectNumber
           
protected  String pageFullName
           
protected  String pageName
           
protected  Float score
           
protected  String space
           
protected  String title
           
protected  String type
           
protected  String version
           
protected  String wiki
           
 
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
 
Constructor Summary
SearchResult()
           
 
Method Summary
 String getAuthor()
          Gets the value of the author property.
 String getAuthorName()
          Gets the value of the authorName property.
 String getClassName()
          Gets the value of the className property.
 String getFilename()
          Gets the value of the filename property.
 String getId()
          Gets the value of the id property.
 String getLanguage()
          Gets the value of the language property.
 Calendar getModified()
          Gets the value of the modified property.
 Object getObject()
          Gets the value of the object property.
 Integer getObjectNumber()
          Gets the value of the objectNumber property.
 String getPageFullName()
          Gets the value of the pageFullName property.
 String getPageName()
          Gets the value of the pageName property.
 Float getScore()
          Gets the value of the score property.
 String getSpace()
          Gets the value of the space property.
 String getTitle()
          Gets the value of the title property.
 String getType()
          Gets the value of the type property.
 String getVersion()
          Gets the value of the version property.
 String getWiki()
          Gets the value of the wiki property.
 void setAuthor(String value)
          Sets the value of the author property.
 void setAuthorName(String value)
          Sets the value of the authorName property.
 void setClassName(String value)
          Sets the value of the className property.
 void setFilename(String value)
          Sets the value of the filename property.
 void setId(String value)
          Sets the value of the id property.
 void setLanguage(String value)
          Sets the value of the language property.
 void setModified(Calendar value)
          Sets the value of the modified property.
 void setObject(Object value)
          Sets the value of the object property.
 void setObjectNumber(Integer value)
          Sets the value of the objectNumber property.
 void setPageFullName(String value)
          Sets the value of the pageFullName property.
 void setPageName(String value)
          Sets the value of the pageName property.
 void setScore(Float value)
          Sets the value of the score property.
 void setSpace(String value)
          Sets the value of the space property.
 void setTitle(String value)
          Sets the value of the title property.
 void setType(String value)
          Sets the value of the type property.
 void setVersion(String value)
          Sets the value of the version property.
 void setWiki(String value)
          Sets the value of the wiki property.
 SearchResult withAuthor(String value)
           
 SearchResult withAuthorName(String value)
           
 SearchResult withClassName(String value)
           
 SearchResult withFilename(String value)
           
 SearchResult withId(String value)
           
 SearchResult withLanguage(String value)
           
 SearchResult withLinks(Collection<Link> values)
           
 SearchResult withLinks(Link... values)
           
 SearchResult withModified(Calendar value)
           
 SearchResult withObject(Object value)
           
 SearchResult withObjectNumber(Integer value)
           
 SearchResult withPageFullName(String value)
           
 SearchResult withPageName(String value)
           
 SearchResult withScore(Float value)
           
 SearchResult withSpace(String value)
           
 SearchResult withTitle(String value)
           
 SearchResult withType(String value)
           
 SearchResult withVersion(String value)
           
 SearchResult withWiki(String value)
           
 
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

type

protected String type

id

protected String id

pageFullName

protected String pageFullName

title

protected String title

wiki

protected String wiki

space

protected String space

pageName

protected String pageName

modified

protected Calendar modified

author

protected String author

authorName

protected String authorName

version

protected String version

language

protected String language

className

protected String className

objectNumber

protected Integer objectNumber

filename

protected String filename

score

protected Float score

object

protected Object object
Constructor Detail

SearchResult

public SearchResult()
Method Detail

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getPageFullName

public String getPageFullName()
Gets the value of the pageFullName property.

Returns:
possible object is String

setPageFullName

public void setPageFullName(String value)
Sets the value of the pageFullName property.

Parameters:
value - allowed object is String

getTitle

public String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

public void setTitle(String value)
Sets the value of the title property.

Parameters:
value - allowed object is String

getWiki

public String getWiki()
Gets the value of the wiki property.

Returns:
possible object is String

setWiki

public void setWiki(String value)
Sets the value of the wiki property.

Parameters:
value - allowed object is String

getSpace

public String getSpace()
Gets the value of the space property.

Returns:
possible object is String

setSpace

public void setSpace(String value)
Sets the value of the space property.

Parameters:
value - allowed object is String

getPageName

public String getPageName()
Gets the value of the pageName property.

Returns:
possible object is String

setPageName

public void setPageName(String value)
Sets the value of the pageName 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

getAuthor

public String getAuthor()
Gets the value of the author property.

Returns:
possible object is String

setAuthor

public void setAuthor(String value)
Sets the value of the author property.

Parameters:
value - allowed object is String

getAuthorName

public String getAuthorName()
Gets the value of the authorName property.

Returns:
possible object is String

setAuthorName

public void setAuthorName(String value)
Sets the value of the authorName property.

Parameters:
value - allowed object is String

getVersion

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

Returns:
possible object is String

setVersion

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

Parameters:
value - allowed object is String

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

getClassName

public String getClassName()
Gets the value of the className property.

Returns:
possible object is String

setClassName

public void setClassName(String value)
Sets the value of the className property.

Parameters:
value - allowed object is String

getObjectNumber

public Integer getObjectNumber()
Gets the value of the objectNumber property.

Returns:
possible object is Integer

setObjectNumber

public void setObjectNumber(Integer value)
Sets the value of the objectNumber property.

Parameters:
value - allowed object is Integer

getFilename

public String getFilename()
Gets the value of the filename property.

Returns:
possible object is String

setFilename

public void setFilename(String value)
Sets the value of the filename property.

Parameters:
value - allowed object is String

getScore

public Float getScore()
Gets the value of the score property.

Returns:
possible object is Float

setScore

public void setScore(Float value)
Sets the value of the score property.

Parameters:
value - allowed object is Float

getObject

public Object getObject()
Gets the value of the object property.

Returns:
possible object is Object

setObject

public void setObject(Object value)
Sets the value of the object property.

Parameters:
value - allowed object is Object

withType

public SearchResult withType(String value)

withId

public SearchResult withId(String value)

withPageFullName

public SearchResult withPageFullName(String value)

withTitle

public SearchResult withTitle(String value)

withWiki

public SearchResult withWiki(String value)

withSpace

public SearchResult withSpace(String value)

withPageName

public SearchResult withPageName(String value)

withModified

public SearchResult withModified(Calendar value)

withAuthor

public SearchResult withAuthor(String value)

withAuthorName

public SearchResult withAuthorName(String value)

withVersion

public SearchResult withVersion(String value)

withLanguage

public SearchResult withLanguage(String value)

withClassName

public SearchResult withClassName(String value)

withObjectNumber

public SearchResult withObjectNumber(Integer value)

withFilename

public SearchResult withFilename(String value)

withScore

public SearchResult withScore(Float value)

withObject

public SearchResult withObject(Object value)

withLinks

public SearchResult withLinks(Link... values)
Overrides:
withLinks in class LinkCollection

withLinks

public SearchResult withLinks(Collection<Link> values)
Overrides:
withLinks in class LinkCollection


Copyright © 2004-2013 XWiki. All Rights Reserved.