public class Concept extends GenericModel
ConceptInsights
service.Constructor and Description |
---|
Concept()
Instantiates a new concept.
|
Concept(Graph graph,
String concept)
Instantiates a new concept.
|
Concept(String accountId,
String graphName,
String concept)
Instantiates a new concept.
|
Modifier and Type | Method and Description |
---|---|
String |
getAbstract() |
String |
getId()
Gets the id.
|
String |
getLabel()
Gets the Human-readable title of the concept
|
String |
getLink() |
String |
getName()
Gets the name.
|
List<String> |
getOntology() |
String |
getThumbnail() |
void |
setAbstract(String abs) |
void |
setId(String id)
Sets the id.
|
void |
setLabel(String label)
Sets the Human-readable title of the concept
|
void |
setLink(String link) |
void |
setName(String name)
Sets the name.
|
void |
setOntology(List<String> ontology) |
void |
setThumbnail(String thumbnail) |
equals, hashCode, toString
public Concept()
public Concept(Graph graph, String concept)
graph
- the graphconcept
- the conceptpublic String getAbstract()
public String getId()
public String getLabel()
public String getLink()
public String getName()
public List<String> getOntology()
public String getThumbnail()
public void setAbstract(String abs)
abs
- the brief description of the concept. Typically 1-3 sentences. ,public void setId(String id)
id
- The idpublic void setLabel(String label)
label
- The labelpublic void setLink(String link)
link
- the Link to external resource for this concept (for example, a wikipedia page)public void setName(String name)
name
- The namepublic void setOntology(List<String> ontology)
ontology
- the list of potential categories for a conceptpublic void setThumbnail(String thumbnail)
thumbnail
- the URL of a small image of the conceptCopyright © 2015–2016. All rights reserved.