public class OntologyConceptConverterImpl extends Object implements OntologyConceptConverter<OntologyConcept>
Basic OntologyConceptConverter implementation for conversion between compatible types.
| Constructor and Description |
|---|
OntologyConceptConverterImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<RelationType,Role> |
toRelationMultimap(OntologyConcept ontologyConcept)
convert a given type to a map of relation types in which it can play roles
and the corresponding role types including entity type hierarchy
|
public com.google.common.collect.Multimap<RelationType,Role> toRelationMultimap(OntologyConcept ontologyConcept)
OntologyConceptConvertertoRelationMultimap in interface OntologyConceptConverter<OntologyConcept>ontologyConcept - to be convertedCopyright © 2017 Grakn Labs Ltd. All rights reserved.