Interface Mapper<OMRS extends InstanceAuditHeader,OMAS extends OmasObject>
-
- All Known Subinterfaces:
INodeMapper<N>,IRelationshipMapper<R>
- All Known Implementing Classes:
AntonymMapper,CategoryAnchorMapper,CategoryHierarchyLinkMapper,CategoryMapper,EntityDetailMapper,GlossaryMapper,IsARelationshipMapper,IsATypeOfMapper,PreferredTermMapper,ProjectMapper,ProjectScopeMapper,RelatedTermMapper,RelationshipMapper,ReplacementTermMapper,SemanticAssignmentMapper,SynonymMapper,TermAnchorMapper,TermCategorizationMapper,TermHasARelationshipMapper,TermIsATypeOfRelationshipDeprecatedMapper,TermMapper,TermTypedByRelationshipMapper,TranslationMapper,UsedInContextMapper,ValidValueMapper
public interface Mapper<OMRS extends InstanceAuditHeader,OMAS extends OmasObject>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetTypeDefGuid()get the Guid This method should be overridden to provide the appropriate guid for the type.StringgetTypeName()Get the type nameOMRSmap(OMAS omasObject)Map from a Subject Area OMAS object to an OMRS objectOMASmap(OMRS omrsObject)Map from an OMRS object to a Subject Area OMAS object
-
-
-
Method Detail
-
map
OMAS map(OMRS omrsObject)
Map from an OMRS object to a Subject Area OMAS object- Parameters:
omrsObject- OMRS Relationship- Returns:
- Subject Area OMAS object
-
map
OMRS map(OMAS omasObject) throws InvalidParameterException
Map from a Subject Area OMAS object to an OMRS object- Parameters:
omasObject- a Subject Area OMAS object- Returns:
- an OMRS object
- Throws:
InvalidParameterException
-
getTypeDefGuid
String getTypeDefGuid()
get the Guid This method should be overridden to provide the appropriate guid for the type.- Returns:
- the guid of the typedef
-
getTypeName
String getTypeName()
Get the type name- Returns:
- type name
-
-