public class CategoryAnchorMapper extends LineMapper
| 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 Line |
getLineInstance() |
protected String |
getProxy1Guid(Line line)
Get proxy1 guid.
|
protected String |
getProxy2Guid(Line line)
Get proxy2 guid
The proxy has omrs type GlossaryCategory
|
protected String |
getRelationshipTypeDefGuid(Relationship relationship)
Get the relationship type def guid.
|
String |
getTypeName()
get type name
|
protected void |
setEnd1GuidInLine(Line line,
String guid)
Pass the guid of the EntityProxy for end 1 to the Line ,so it can store it appropriately
|
protected void |
setEnd2GuidInLine(Line line,
String guid)
Pass the guid of the EntityProxy for end 2 to the Line ,so it can store it appropriately
|
mapEnumToLine, mapInstancePropertiesToLine, mapLineToInstanceProperties, mapLineToRelationship, mapMapToLine, mapPrimitiveToLine, mapRelationshipToLinepublic static final String CATEGORY_ANCHOR
public CategoryAnchorMapper(OMRSAPIHelper omrsapiHelper)
protected String getProxy1Guid(Line line)
getProxy1Guid in class LineMapperline - lineprotected String getProxy2Guid(Line line)
getProxy2Guid in class LineMapperline - for this Lineprotected String getRelationshipTypeDefGuid(Relationship relationship)
getRelationshipTypeDefGuid in class LineMapperrelationship - the relationship associated with the typedef whose guid is returned.public String getTypeName()
LineMappergetTypeName in interface ILineMappergetTypeName in class LineMapperprotected Line getLineInstance()
protected void setEnd1GuidInLine(Line line, String guid)
LineMappersetEnd1GuidInLine in class LineMapperline - line to updateguid - guid to add into the Lineprotected void setEnd2GuidInLine(Line line, String guid)
LineMappersetEnd2GuidInLine in class LineMapperline - line to updateguid - guid to add into the LineCopyright © 2018–2020 ODPi. All rights reserved.