public class RoleTypeConverter extends Object implements OntologyConceptConverter<Role>
Implementation of OntologyConceptConverter allowing for conversion of role types to compatible types.
| Constructor and Description |
|---|
RoleTypeConverter() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<RelationType,Role> |
toRelationMultimap(Role role)
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(Role role)
OntologyConceptConvertertoRelationMultimap in interface OntologyConceptConverter<Role>role - to be convertedCopyright © 2017 Grakn Labs Ltd. All rights reserved.