public class CategoryAnchorMapper extends LineMapper<CategoryAnchor>
| Modifier and Type | Field and Description |
|---|---|
static String |
CATEGORY_ANCHOR |
omrsapiHelper, repositoryHelper| Constructor and Description |
|---|
CategoryAnchorMapper(OMRSAPIHelper omrsapiHelper) |
| Modifier and Type | Method and Description |
|---|---|
protected CategoryAnchor |
getLineInstance() |
protected String |
getProxy1Guid(CategoryAnchor categoryAnchor)
Get proxy1 guid.
|
protected String |
getProxy2Guid(CategoryAnchor categoryAnchor)
Get proxy2 guid
The proxy has omrs type GlossaryCategory
|
String |
getTypeName()
get type name
|
protected void |
setEnd1GuidInLine(CategoryAnchor categoryAnchor,
String guid)
Pass the guid of the EntityProxy for end 1 to the Line ,so it can store it appropriately
|
protected void |
setEnd2GuidInLine(CategoryAnchor categoryAnchor,
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 CATEGORY_ANCHOR
public CategoryAnchorMapper(OMRSAPIHelper omrsapiHelper)
protected String getProxy1Guid(CategoryAnchor categoryAnchor)
getProxy1Guid in class LineMapper<CategoryAnchor>categoryAnchor - lineprotected String getProxy2Guid(CategoryAnchor categoryAnchor)
getProxy2Guid in class LineMapper<CategoryAnchor>categoryAnchor - for this Linepublic String getTypeName()
LineMappergetTypeName in interface Mapper<Relationship,CategoryAnchor>getTypeName in class LineMapper<CategoryAnchor>protected CategoryAnchor getLineInstance()
protected void setEnd1GuidInLine(CategoryAnchor categoryAnchor, String guid)
LineMappersetEnd1GuidInLine in class LineMapper<CategoryAnchor>categoryAnchor - line to updateguid - guid to add into the Lineprotected void setEnd2GuidInLine(CategoryAnchor categoryAnchor, String guid)
LineMappersetEnd2GuidInLine in class LineMapper<CategoryAnchor>categoryAnchor - line to updateguid - guid to add into the LineCopyright © 2018–2020 ODPi. All rights reserved.