public class RelationshipTypeMapper extends Object
| Constructor and Description |
|---|
RelationshipTypeMapper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
mapOMASRelationshipTypeToOMRSRelationshipTypeGuid(String operation,
RelationshipType omasRelationshipType)
Map omas RelationshipType to omrs relationship type guid.
|
public static String mapOMASRelationshipTypeToOMRSRelationshipTypeGuid(String operation, RelationshipType omasRelationshipType) throws InvalidParameterException
operation - operation being attemptedomasRelationshipType - omasRelationshipType this is the type of relationship that is exposed in the RelationshipType as part of the OMAS API.InvalidParameterExceptionCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.