public class IDHelper extends Object
ConceptInsights,.| Constructor and Description |
|---|
IDHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getConceptId(Concept concept)
The purpose of this method to validate / generate the concept.id.
|
static String |
getCorpusId(Corpus corpus,
String accoundId)
This method validate the id if it has been populated in the corpus object, otherwise it will
generated it.
|
static String |
getDocumentId(Document document)
The purpose of this method to validate / generate the document.id.
|
static String |
getGraphId(Graph graph,
String accoundId)
This method validate the id if it has been populated in the graph object, otherwise it will
generated it.
|
public static String getConceptId(Concept concept)
concept - the concept object,public static String getCorpusId(Corpus corpus, String accoundId)
corpus - Corpus the corpus object,accoundId - String the account id.public static String getDocumentId(Document document)
document - Document the document object,Copyright © 2015–2016. All rights reserved.