Package org.xwiki.rest.model.jaxb
Class SearchResult
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- 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"/> <element name="hierarchy" type="{http://www.xwiki.org}Hierarchy" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringauthorprotected StringauthorNameprotected StringclassNameprotected Stringfilenameprotected Hierarchyhierarchyprotected Stringidprotected Stringlanguageprotected Calendarmodifiedprotected Objectobjectprotected IntegerobjectNumberprotected StringpageFullNameprotected StringpageNameprotected Floatscoreprotected Stringspaceprotected Stringtitleprotected Stringtypeprotected Stringversionprotected Stringwiki-
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
-
Constructor Summary
Constructors Constructor Description SearchResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthor()Gets the value of the author property.StringgetAuthorName()Gets the value of the authorName property.StringgetClassName()Gets the value of the className property.StringgetFilename()Gets the value of the filename property.HierarchygetHierarchy()Gets the value of the hierarchy property.StringgetId()Gets the value of the id property.StringgetLanguage()Gets the value of the language property.CalendargetModified()Gets the value of the modified property.ObjectgetObject()Gets the value of the object property.IntegergetObjectNumber()Gets the value of the objectNumber property.StringgetPageFullName()Gets the value of the pageFullName property.StringgetPageName()Gets the value of the pageName property.FloatgetScore()Gets the value of the score property.StringgetSpace()Gets the value of the space property.StringgetTitle()Gets the value of the title property.StringgetType()Gets the value of the type property.StringgetVersion()Gets the value of the version property.StringgetWiki()Gets the value of the wiki property.voidsetAuthor(String value)Sets the value of the author property.voidsetAuthorName(String value)Sets the value of the authorName property.voidsetClassName(String value)Sets the value of the className property.voidsetFilename(String value)Sets the value of the filename property.voidsetHierarchy(Hierarchy value)Sets the value of the hierarchy property.voidsetId(String value)Sets the value of the id property.voidsetLanguage(String value)Sets the value of the language property.voidsetModified(Calendar value)Sets the value of the modified property.voidsetObject(Object value)Sets the value of the object property.voidsetObjectNumber(Integer value)Sets the value of the objectNumber property.voidsetPageFullName(String value)Sets the value of the pageFullName property.voidsetPageName(String value)Sets the value of the pageName property.voidsetScore(Float value)Sets the value of the score property.voidsetSpace(String value)Sets the value of the space property.voidsetTitle(String value)Sets the value of the title property.voidsetType(String value)Sets the value of the type property.voidsetVersion(String value)Sets the value of the version property.voidsetWiki(String value)Sets the value of the wiki property.SearchResultwithAuthor(String value)SearchResultwithAuthorName(String value)SearchResultwithClassName(String value)SearchResultwithFilename(String value)SearchResultwithHierarchy(Hierarchy value)SearchResultwithId(String value)SearchResultwithLanguage(String value)SearchResultwithLinks(Collection<Link> values)SearchResultwithLinks(Link... values)SearchResultwithModified(Calendar value)SearchResultwithObject(Object value)SearchResultwithObjectNumber(Integer value)SearchResultwithPageFullName(String value)SearchResultwithPageName(String value)SearchResultwithScore(Float value)SearchResultwithSpace(String value)SearchResultwithTitle(String value)SearchResultwithType(String value)SearchResultwithVersion(String value)SearchResultwithWiki(String value)-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
-
-
-
-
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
-
hierarchy
protected Hierarchy hierarchy
-
-
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 isString
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isInteger
-
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 isString
-
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 isFloat
-
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 isObject
-
getHierarchy
public Hierarchy getHierarchy()
Gets the value of the hierarchy property.- Returns:
- possible object is
Hierarchy
-
setHierarchy
public void setHierarchy(Hierarchy value)
Sets the value of the hierarchy property.- Parameters:
value- allowed object isHierarchy
-
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)
-
withHierarchy
public SearchResult withHierarchy(Hierarchy value)
-
withLinks
public SearchResult withLinks(Link... values)
- Overrides:
withLinksin classLinkCollection
-
withLinks
public SearchResult withLinks(Collection<Link> values)
- Overrides:
withLinksin classLinkCollection
-
-