public class ProjectScopeMapper extends LineMapper<ProjectScope>
| Modifier and Type | Field and Description |
|---|---|
static String |
PROJECT_SCOPE |
omrsapiHelper, repositoryHelper| Constructor and Description |
|---|
ProjectScopeMapper(OMRSAPIHelper omrsapiHelper) |
| Modifier and Type | Method and Description |
|---|---|
ProjectScope |
getLineInstance() |
String |
getTypeName()
get type name
|
void |
mapLineToInstanceProperties(ProjectScope projectScope,
InstanceProperties instanceProperties)
Map the supplied Line to omrs InstanceProperties.
|
protected boolean |
mapPrimitiveToLine(ProjectScope projectScope,
String propertyName,
Object value)
Map a primitive omrs property to the antonym object.
|
getTypeDefGuid, map, map, mapEnumToLine, mapInstancePropertiesToLine, mapMapToLinepublic static final String PROJECT_SCOPE
public ProjectScopeMapper(OMRSAPIHelper omrsapiHelper)
public String getTypeName()
LineMappergetTypeName in interface Mapper<Relationship,ProjectScope>getTypeName in class LineMapper<ProjectScope>public ProjectScope getLineInstance()
public void mapLineToInstanceProperties(ProjectScope projectScope, InstanceProperties instanceProperties)
mapLineToInstanceProperties in class LineMapper<ProjectScope>projectScope - supplied lineinstanceProperties - equivalent instance properties to the Lineprotected boolean mapPrimitiveToLine(ProjectScope projectScope, String propertyName, Object value)
mapPrimitiveToLine in class LineMapper<ProjectScope>projectScope - the ProjectScope to be updatedpropertyName - the omrs property namevalue - the omrs primitive property valueCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.