public class ObjectSearchResult extends Object
| Constructor and Description |
|---|
ObjectSearchResult()
Instantiates a new object form search.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreatedDate()
This method get created date of category or question
|
String |
getDescription() |
String |
getExcerpt()
gets excerpt
|
String |
getIcon()
This method return icon category or question
|
String |
getId()
This method get Id of category or question filter
|
String |
getLink() |
String |
getName()
This method get name of category or question
|
int |
getNumberOfAnswer() |
int |
getNumberOfComment() |
String |
getPath() |
double |
getRatingOfQuestion() |
long |
getRelevancy()
gets relevancy
|
String |
getType()
This method return category or question
|
void |
setCreatedDate(Date date)
This method add created date of category or question to object
|
void |
setDescription(String description) |
void |
setExcerpt(String excerpt)
sets excerpt
|
void |
setIcon(String icon)
This method add icon to object.
|
void |
setId(String id)
With each value filter, this id add to object
|
void |
setLink(String link) |
void |
setName(String name)
This method add name category or question to object
|
void |
setNumberOfAnswer(int numberOfAnswer) |
void |
setNumberOfComment(int numberOfComment) |
void |
setPath(String path) |
void |
setRatingOfQuestion(double ratingOfQuestion) |
void |
setRelevancy(long relevancy)
sets relevancy
|
void |
setType(String type)
With each value filter, this type add to object
|
public ObjectSearchResult()
public String getId()
public void setId(String id)
id - of category or question when result searchpublic String getType()
public void setType(String type)
type - return category or questionpublic String getName()
public void setName(String name)
name - public Date getCreatedDate()
public void setCreatedDate(Date date)
date - public String getIcon()
public void setIcon(String icon)
icon - public String getPath()
public void setPath(String path)
path - the path to setpublic double getRatingOfQuestion()
public void setRatingOfQuestion(double ratingOfQuestion)
ratingOfQuestion - the ratingOfQuestion to setpublic int getNumberOfAnswer()
public void setNumberOfAnswer(int numberOfAnswer)
numberOfAnswer - the numberOfAnswer to setpublic int getNumberOfComment()
public void setNumberOfComment(int numberOfComment)
numberOfComment - the numberOfComment to setpublic String getDescription()
public void setDescription(String description)
description - public String getLink()
public void setLink(String link)
link - the link to setpublic String getExcerpt()
public void setExcerpt(String excerpt)
excerpt - public long getRelevancy()
public void setRelevancy(long relevancy)
relevancy - Copyright © 2003–2019 eXo Platform SAS. All rights reserved.