public class QueryConcept extends Object
Constructor and Description |
---|
QueryConcept()
Object representing a search criteria.
|
Modifier and Type | Method and Description |
---|---|
String |
getBool()
Get the search phrase.
|
String |
getId()
Get the search criterion identifier.
|
List<String> |
getIncludeRelated()
Get the related criteria.
|
boolean |
getNegated()
Whether search criterion is negated.
|
String |
getOntology()
Get the search criterion ontology.
|
String |
getRank()
Get the search criterion rank.
|
List<String> |
getSections()
Get the search criterion target section.
|
String |
getText()
Get the search text keyword or null.
|
String |
getType()
Get the search criterion semantic type.
|
void |
setBool(String value)
Set the search phrase.
|
void |
setId(String artifactId)
Set the search criterion identifier.
|
void |
setIncludeRelated(List<String> artifactRelations)
Set the related search criterion.
|
void |
setNegated(boolean negateArtifact)
Set whether the search criterion is negated.
|
void |
setOntology(String source)
Set the search criterion ontology.
|
void |
setRank(String artifiactRank)
Set the search criterion rank.
|
void |
setSections(List<String> textFields)
Set the search criterion target sections(s).
|
void |
setText(String token)
Set the search criterion text keyword.
|
void |
setType(String artifactType)
Set the search criterion semantic type.
|
public String getBool()
public String getOntology()
public String getId()
public String getRank()
public List<String> getSections()
public String getText()
public String getType()
public List<String> getIncludeRelated()
public boolean getNegated()
public void setBool(String value)
value
- search valuepublic void setOntology(String source)
source
- ontologypublic void setId(String artifactId)
artifactId
- identifierpublic void setRank(String artifiactRank)
artifiactRank
- rankingpublic void setSections(List<String> textFields)
textFields
- section namespublic void setText(String token)
token
- text tokenpublic void setType(String artifactType)
artifactType
- semantic typepublic void setIncludeRelated(List<String> artifactRelations)
artifactRelations
- relation criteriapublic void setNegated(boolean negateArtifact)
negateArtifact
- negated flagCopyright © 2021 IBM Cloud. All rights reserved.