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 TermISATypeOFRelationshipMapping 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
Constructors Constructor Description TermIsATypeOfRelationshipDeprecatedMapper(OpenMetadataAPIGenericHandler genericHandler)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected IsATypeOfDeprecatedgetRelationshipInstance()Deprecated.StringgetTypeName()Deprecated.protected booleanmapEnumToRelationship(IsATypeOfDeprecated termIsATypeOFRelationship, String propertyName, EnumPropertyValue enumPropertyValue)Deprecated.protected booleanmapPrimitiveToRelationship(IsATypeOfDeprecated isATypeOfDeprecated, String propertyName, Object value)Deprecated.protected voidmapRelationshipToInstanceProperties(IsATypeOfDeprecated isATypeOfDeprecated, InstanceProperties instanceProperties)Deprecated.-
Methods inherited from class org.odpi.openmetadata.accessservices.subjectarea.server.mappers.relationships.RelationshipMapper
getTypeDefGuid, map, map, mapInstancePropertiesToRelationship, mapMapToRelationship
-
-
-
-
Constructor Detail
-
TermIsATypeOfRelationshipDeprecatedMapper
public TermIsATypeOfRelationshipDeprecatedMapper(OpenMetadataAPIGenericHandler genericHandler)
Deprecated.
-
-
Method Detail
-
mapRelationshipToInstanceProperties
@Deprecated protected void mapRelationshipToInstanceProperties(IsATypeOfDeprecated isATypeOfDeprecated, InstanceProperties instanceProperties)
Deprecated.Map the supplied relationship to omrs InstanceProperties.- Overrides:
mapRelationshipToInstancePropertiesin 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:
mapPrimitiveToRelationshipin 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:RelationshipMapperMap 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:
mapEnumToRelationshipin 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 public String getTypeName()
Deprecated.Description copied from class:RelationshipMapperget type name- Specified by:
getTypeNamein interfaceMapper<Relationship,IsATypeOfDeprecated>- Specified by:
getTypeNamein classRelationshipMapper<IsATypeOfDeprecated>- Returns:
- the omrs type name.
-
getRelationshipInstance
@Deprecated protected IsATypeOfDeprecated getRelationshipInstance()
Deprecated.
-
-