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