public class TermIsATypeOfRelationshipMapper extends LineMapper<IsATypeOf>
omrsapiHelper, repositoryHelper| Constructor and Description |
|---|
TermIsATypeOfRelationshipMapper(OMRSAPIHelper omrsapiHelper) |
| Modifier and Type | Method and Description |
|---|---|
protected IsATypeOf |
getLineInstance() |
String |
getTypeName()
get type name
|
protected boolean |
mapEnumToLine(IsATypeOf termIsATypeOFRelationship,
String propertyName,
EnumPropertyValue enumPropertyValue)
Map an omrs enum property to a Subject Area Line property.
|
protected void |
mapLineToInstanceProperties(IsATypeOf termIsATypeOFRelationship,
InstanceProperties instanceProperties)
Map the supplied Line to omrs InstanceProperties.
|
protected boolean |
mapPrimitiveToLine(IsATypeOf termIsATypeOFRelationship,
String propertyName,
Object value)
Map a primitive omrs property to the termISATypeOFRelationship object.
|
getTypeDefGuid, map, map, mapInstancePropertiesToLine, mapMapToLinepublic TermIsATypeOfRelationshipMapper(OMRSAPIHelper omrsapiHelper)
protected void mapLineToInstanceProperties(IsATypeOf termIsATypeOFRelationship, InstanceProperties instanceProperties)
mapLineToInstanceProperties in class LineMapper<IsATypeOf>termIsATypeOFRelationship - supplied lineinstanceProperties - equivalent instance properties to the Lineprotected boolean mapPrimitiveToLine(IsATypeOf termIsATypeOFRelationship, String propertyName, Object value)
mapPrimitiveToLine in class LineMapper<IsATypeOf>termIsATypeOFRelationship - the glossary to be updatedpropertyName - the omrs property namevalue - the omrs primitive property valueprotected boolean mapEnumToLine(IsATypeOf termIsATypeOFRelationship, String propertyName, EnumPropertyValue enumPropertyValue)
LineMappermapEnumToLine in class LineMapper<IsATypeOf>termIsATypeOFRelationship - the line to be updatedpropertyName - the omrs property nameenumPropertyValue - the omrs enum property valuepublic String getTypeName()
LineMappergetTypeName in interface Mapper<Relationship,IsATypeOf>getTypeName in class LineMapper<IsATypeOf>protected IsATypeOf getLineInstance()
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.