public class TermAnchorMapper extends LineMapper<TermAnchor>
| Modifier and Type | Field and Description |
|---|---|
static String |
TERM_ANCHOR |
omrsapiHelper, repositoryHelper| Constructor and Description |
|---|
TermAnchorMapper(OMRSAPIHelper omrsapiHelper) |
| Modifier and Type | Method and Description |
|---|---|
protected TermAnchor |
getLineInstance() |
protected String |
getProxy1Guid(TermAnchor termAnchor)
Get proxy1 guid.
|
protected String |
getProxy2Guid(TermAnchor termAnchor)
Get proxy2 guid
The proxy has omrs type GlossaryTerm
|
String |
getTypeName()
get type name
|
protected void |
setEnd1GuidInLine(TermAnchor termAnchor,
String guid)
Pass the guid of the EntityProxy for end 1 to the Line ,so it can store it appropriately
|
protected void |
setEnd2GuidInLine(TermAnchor termAnchor,
String guid)
Pass the guid of the EntityProxy for end 2 to the Line ,so it can store it appropriately
|
getTypeDefGuid, map, map, mapEnumToLine, mapInstancePropertiesToLine, mapLineToInstanceProperties, mapMapToLine, mapPrimitiveToLinepublic static final String TERM_ANCHOR
public TermAnchorMapper(OMRSAPIHelper omrsapiHelper)
protected String getProxy1Guid(TermAnchor termAnchor)
getProxy1Guid in class LineMapper<TermAnchor>termAnchor - lineprotected String getProxy2Guid(TermAnchor termAnchor)
getProxy2Guid in class LineMapper<TermAnchor>termAnchor - for this Linepublic String getTypeName()
LineMappergetTypeName in interface Mapper<Relationship,TermAnchor>getTypeName in class LineMapper<TermAnchor>protected TermAnchor getLineInstance()
protected void setEnd1GuidInLine(TermAnchor termAnchor, String guid)
LineMappersetEnd1GuidInLine in class LineMapper<TermAnchor>termAnchor - line to updateguid - guid to add into the Lineprotected void setEnd2GuidInLine(TermAnchor termAnchor, String guid)
LineMappersetEnd2GuidInLine in class LineMapper<TermAnchor>termAnchor - line to updateguid - guid to add into the LineCopyright © 2018–2020 ODPi. All rights reserved.