public class ProjectScopeMapper extends RelationshipMapper<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 |
getRelationshipInstance() |
String |
getTypeName()
get type name
|
protected boolean |
mapPrimitiveToRelationship(ProjectScope projectScope,
String propertyName,
Object value)
Map a primitive omrs property to the antonym object.
|
void |
mapRelationshipToInstanceProperties(ProjectScope projectScope,
InstanceProperties instanceProperties)
Map the supplied relationship to omrs InstanceProperties.
|
getTypeDefGuid, map, map, mapEnumToRelationship, mapInstancePropertiesToRelationship, mapMapToRelationshippublic static final String PROJECT_SCOPE
public ProjectScopeMapper(OMRSAPIHelper omrsapiHelper)
public String getTypeName()
RelationshipMappergetTypeName in interface Mapper<Relationship,ProjectScope>getTypeName in class RelationshipMapper<ProjectScope>public ProjectScope getRelationshipInstance()
public void mapRelationshipToInstanceProperties(ProjectScope projectScope, InstanceProperties instanceProperties)
mapRelationshipToInstanceProperties in class RelationshipMapper<ProjectScope>projectScope - supplied relationshipinstanceProperties - equivalent instance properties to the relationshipprotected boolean mapPrimitiveToRelationship(ProjectScope projectScope, String propertyName, Object value)
mapPrimitiveToRelationship in class RelationshipMapper<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.