Interface IRelationshipMapper<R extends Relationship>
- All Superinterfaces:
Mapper<Relationship,
R>
- All Known Implementing Classes:
AntonymMapper
,CategoryAnchorMapper
,CategoryHierarchyLinkMapper
,IsARelationshipMapper
,IsATypeOfMapper
,PreferredTermMapper
,ProjectScopeMapper
,RelatedTermMapper
,RelationshipMapper
,ReplacementTermMapper
,SemanticAssignmentMapper
,SynonymMapper
,TermAnchorMapper
,TermCategorizationMapper
,TermHasARelationshipMapper
,TermIsATypeOfRelationshipDeprecatedMapper
,TermTypedByRelationshipMapper
,TranslationMapper
,UsedInContextMapper
,ValidValueMapper
Interface for mapping between a Subject Area OMAS Relationship to an OMRS Relationship
-
Method Summary
Modifier and TypeMethodDescriptionmap
(Relationship relationship) Map from an OMRS Relationship to a Subject Area OMAS relationshipMap from a Subject Area OMAS relationship to an OMRS RelationshipMethods inherited from interface org.odpi.openmetadata.accessservices.subjectarea.server.mappers.Mapper
getTypeDefGuid, getTypeName
-
Method Details
-
map
Map from an OMRS Relationship to a Subject Area OMAS relationship- Specified by:
map
in interfaceMapper<Relationship,
R extends Relationship> - Parameters:
relationship
- OMRS relationships- Returns:
- Subject Area OMAS relationship
-
map
Map from a Subject Area OMAS relationship to an OMRS Relationship- Specified by:
map
in interfaceMapper<Relationship,
R extends Relationship> - Parameters:
relationship
- a Subject Area OMAS relationship- Returns:
- an OMRS Relationship
- Throws:
InvalidParameterException
-