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