Class TermIsATypeOfRelationshipDeprecatedMapper
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.server.mappers.relationships.RelationshipMapper<org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecated>
org.odpi.openmetadata.accessservices.subjectarea.server.mappers.relationships.TermIsATypeOfRelationshipDeprecatedMapper
- All Implemented Interfaces:
IRelationshipMapper<org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecated>,Mapper<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship,org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecated>
@Deprecated
public class TermIsATypeOfRelationshipDeprecatedMapper
extends RelationshipMapper<org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.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
ConstructorsConstructorDescriptionTermIsATypeOfRelationshipDeprecatedMapper(org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericHandler genericHandler) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecatedDeprecated.Deprecated.protected booleanmapEnumToRelationship(org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecated termIsATypeOFRelationship, String propertyName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EnumPropertyValue enumPropertyValue) Deprecated.protected booleanmapPrimitiveToRelationship(org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecated isATypeOfDeprecated, String propertyName, Object value) Deprecated.protected voidmapRelationshipToInstanceProperties(org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecated isATypeOfDeprecated, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties instanceProperties) Deprecated.Methods inherited from class org.odpi.openmetadata.accessservices.subjectarea.server.mappers.relationships.RelationshipMapper
getTypeDefGuid, map, map, mapInstancePropertiesToRelationship, mapMapToRelationship
-
Constructor Details
-
TermIsATypeOfRelationshipDeprecatedMapper
public TermIsATypeOfRelationshipDeprecatedMapper(org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericHandler genericHandler) Deprecated.
-
-
Method Details
-
mapRelationshipToInstanceProperties
@Deprecated protected void mapRelationshipToInstanceProperties(org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecated isATypeOfDeprecated, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties instanceProperties) Deprecated.Map the supplied relationship to omrs InstanceProperties.- Overrides:
mapRelationshipToInstancePropertiesin classRelationshipMapper<org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecated>- Parameters:
isATypeOfDeprecated- supplied relationshipinstanceProperties- equivalent instance properties to the relationship
-
mapPrimitiveToRelationship
@Deprecated protected boolean mapPrimitiveToRelationship(org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecated isATypeOfDeprecated, String propertyName, Object value) Deprecated.Map a primitive omrs property to the termISATypeOFRelationship object.- Overrides:
mapPrimitiveToRelationshipin classRelationshipMapper<org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.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(org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecated termIsATypeOFRelationship, String propertyName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.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<org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.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:RelationshipMapperget type name- Specified by:
getTypeNamein interfaceMapper<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship,org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecated> - Specified by:
getTypeNamein classRelationshipMapper<org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecated>- Returns:
- the omrs type name.
-
getRelationshipInstance
@Deprecated protected org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.IsATypeOfDeprecated getRelationshipInstance()Deprecated.
-