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="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="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"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String className
           
protected  String id
           
protected  String language
           
protected  Integer objectNumber
           
protected  String pageFullName
           
protected  String pageName
           
protected  String space
           
protected  String type
           
protected  String wiki
           
 
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
 
Constructor Summary
SearchResult()
           
 
Method Summary
 String getClassName()
          Gets the value of the className property.
 String getId()
          Gets the value of the id property.
 String getLanguage()
          Gets the value of the language 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.
 String getSpace()
          Gets the value of the space property.
 String getType()
          Gets the value of the type property.
 String getWiki()
          Gets the value of the wiki property.
 void setClassName(String value)
          Sets the value of the className property.
 void setId(String value)
          Sets the value of the id property.
 void setLanguage(String value)
          Sets the value of the language 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 setSpace(String value)
          Sets the value of the space property.
 void setType(String value)
          Sets the value of the type property.
 void setWiki(String value)
          Sets the value of the wiki property.
 SearchResult withClassName(String value)
           
 SearchResult withId(String value)
           
 SearchResult withLanguage(String value)
           
 SearchResult withLinks(Collection<Link> values)
           
 SearchResult withLinks(Link... values)
           
 SearchResult withObjectNumber(Integer value)
           
 SearchResult withPageFullName(String value)
           
 SearchResult withPageName(String value)
           
 SearchResult withSpace(String value)
           
 SearchResult withType(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

wiki

protected String wiki

space

protected String space

pageName

protected String pageName

language

protected String language

className

protected String className

objectNumber

protected Integer objectNumber
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

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

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

withType

public SearchResult withType(String value)

withId

public SearchResult withId(String value)

withPageFullName

public SearchResult withPageFullName(String value)

withWiki

public SearchResult withWiki(String value)

withSpace

public SearchResult withSpace(String value)

withPageName

public SearchResult withPageName(String value)

withLanguage

public SearchResult withLanguage(String value)

withClassName

public SearchResult withClassName(String value)

withObjectNumber

public SearchResult withObjectNumber(Integer 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-2012 XWiki. All Rights Reserved.