Class TermIsATypeOfRelationshipDeprecatedMapper
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.server.mappers.relationships.RelationshipMapper<IsATypeOfDeprecated>
org.odpi.openmetadata.accessservices.subjectarea.server.mappers.relationships.TermIsATypeOfRelationshipDeprecatedMapper
- All Implemented Interfaces:
IRelationshipMapper<IsATypeOfDeprecated>
,Mapper<Relationship,
IsATypeOfDeprecated>
@Deprecated
public class TermIsATypeOfRelationshipDeprecatedMapper
extends RelationshipMapper<IsATypeOfDeprecated>
Deprecated.
use IsATypeOfRelationship not TermISATypeOFRelationship
Mapping methods to map between the termISATypeOFRelationship and the equivalent omrs Relationship.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.server.mappers.relationships.RelationshipMapper
genericHandler, repositoryHelper
-
Constructor Summary
ConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected IsATypeOfDeprecated
Deprecated.Deprecated.protected boolean
mapEnumToRelationship
(IsATypeOfDeprecated termIsATypeOFRelationship, String propertyName, EnumPropertyValue enumPropertyValue) Deprecated.protected boolean
mapPrimitiveToRelationship
(IsATypeOfDeprecated isATypeOfDeprecated, String propertyName, Object value) Deprecated.protected void
mapRelationshipToInstanceProperties
(IsATypeOfDeprecated isATypeOfDeprecated, InstanceProperties instanceProperties) Deprecated.Methods inherited from class org.odpi.openmetadata.accessservices.subjectarea.server.mappers.relationships.RelationshipMapper
getTypeDefGuid, map, map, mapInstancePropertiesToRelationship, mapMapToRelationship
-
Constructor Details
-
TermIsATypeOfRelationshipDeprecatedMapper
Deprecated.
-
-
Method Details
-
mapRelationshipToInstanceProperties
@Deprecated protected void mapRelationshipToInstanceProperties(IsATypeOfDeprecated isATypeOfDeprecated, InstanceProperties instanceProperties) Deprecated.Map the supplied relationship to omrs InstanceProperties.- Overrides:
mapRelationshipToInstanceProperties
in classRelationshipMapper<IsATypeOfDeprecated>
- Parameters:
isATypeOfDeprecated
- supplied relationshipinstanceProperties
- equivalent instance properties to the relationship
-
mapPrimitiveToRelationship
@Deprecated protected boolean mapPrimitiveToRelationship(IsATypeOfDeprecated isATypeOfDeprecated, String propertyName, Object value) Deprecated.Map a primitive omrs property to the termISATypeOFRelationship object.- Overrides:
mapPrimitiveToRelationship
in classRelationshipMapper<IsATypeOfDeprecated>
- Parameters:
isATypeOfDeprecated
- the omas relationship to be updatedpropertyName
- the omrs property namevalue
- the omrs primitive property value- Returns:
- true if the propertyName was recognised and mapped to the relationship, otherwise false
-
mapEnumToRelationship
@Deprecated protected boolean mapEnumToRelationship(IsATypeOfDeprecated termIsATypeOFRelationship, String propertyName, EnumPropertyValue enumPropertyValue) Deprecated.Description copied from class:RelationshipMapper
Map an omrs enum property to a Subject Area relationship property. The child class is expected to override this method if the type has enum properties- Overrides:
mapEnumToRelationship
in classRelationshipMapper<IsATypeOfDeprecated>
- Parameters:
termIsATypeOFRelationship
- the relationship to be updatedpropertyName
- the omrs property nameenumPropertyValue
- the omrs enum property value- Returns:
- true if it was a property we were expecting , otherwise false;
-
getTypeName
Deprecated.Description copied from class:RelationshipMapper
get type name- Specified by:
getTypeName
in interfaceMapper<Relationship,
IsATypeOfDeprecated> - Specified by:
getTypeName
in classRelationshipMapper<IsATypeOfDeprecated>
- Returns:
- the omrs type name.
-
getRelationshipInstance
Deprecated.
-