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