public class TermIsATypeOfRelationshipDeprecatedMapper extends RelationshipMapper<IsATypeOfDeprecated>
omrsapiHelper, repositoryHelper| Constructor and Description |
|---|
TermIsATypeOfRelationshipDeprecatedMapper(OMRSAPIHelper omrsapiHelper)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected IsATypeOfDeprecated |
getRelationshipInstance()
Deprecated.
|
String |
getTypeName()
Deprecated.
get type name
|
protected boolean |
mapEnumToRelationship(IsATypeOfDeprecated termIsATypeOFRelationship,
String propertyName,
EnumPropertyValue enumPropertyValue)
Deprecated.
Map an omrs enum property to a Subject Area relationship property.
|
protected boolean |
mapPrimitiveToRelationship(IsATypeOfDeprecated isATypeOfDeprecated,
String propertyName,
Object value)
Deprecated.
|
protected void |
mapRelationshipToInstanceProperties(IsATypeOfDeprecated isATypeOfDeprecated,
InstanceProperties instanceProperties)
Deprecated.
|
getTypeDefGuid, map, map, mapInstancePropertiesToRelationship, mapMapToRelationshippublic TermIsATypeOfRelationshipDeprecatedMapper(OMRSAPIHelper omrsapiHelper)
protected void mapRelationshipToInstanceProperties(IsATypeOfDeprecated isATypeOfDeprecated, InstanceProperties instanceProperties)
mapRelationshipToInstanceProperties in class RelationshipMapper<IsATypeOfDeprecated>isATypeOfDeprecated - supplied relationshipinstanceProperties - equivalent instance properties to the relationshipprotected boolean mapPrimitiveToRelationship(IsATypeOfDeprecated isATypeOfDeprecated, String propertyName, Object value)
mapPrimitiveToRelationship in class RelationshipMapper<IsATypeOfDeprecated>isATypeOfDeprecated - the omas relationship to be updatedpropertyName - the omrs property namevalue - the omrs primitive property valueprotected boolean mapEnumToRelationship(IsATypeOfDeprecated termIsATypeOFRelationship, String propertyName, EnumPropertyValue enumPropertyValue)
RelationshipMappermapEnumToRelationship in class RelationshipMapper<IsATypeOfDeprecated>termIsATypeOFRelationship - the relationship to be updatedpropertyName - the omrs property nameenumPropertyValue - the omrs enum property valuepublic String getTypeName()
RelationshipMappergetTypeName in interface Mapper<Relationship,IsATypeOfDeprecated>getTypeName in class RelationshipMapper<IsATypeOfDeprecated>protected IsATypeOfDeprecated getRelationshipInstance()
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.