Class GlossaryProjectMapper
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.server.mappers.classifications.ClassificationMapper
org.odpi.openmetadata.accessservices.subjectarea.server.mappers.classifications.GlossaryProjectMapper
Mapping methods to map between GlossaryProject and the omrs equivalents.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.server.mappers.classifications.ClassificationMapper
genericHandler, repositoryHelper -
Constructor Summary
ConstructorsConstructorDescriptionGlossaryProjectMapper(org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericHandler genericHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.Classificationget an instance of the classificationprotected StringmapKnownAttributesToOmrs(org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.Classification omasClassification, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties omrsClassificationProperties) Map attributes we know are part of this type to OMRS.protected org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstancePropertiesupdateOMRSAttributes(org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.Classification omasClassification) Methods inherited from class org.odpi.openmetadata.accessservices.subjectarea.server.mappers.classifications.ClassificationMapper
createSystemAttributesFromOMRSClassification, isTypeCorrect, mapBeanToOmrs, mapOmrsToBean
-
Constructor Details
-
GlossaryProjectMapper
public GlossaryProjectMapper(org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericHandler genericHandler)
-
-
Method Details
-
mapKnownAttributesToOmrs
protected Set<String> mapKnownAttributesToOmrs(org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.Classification omasClassification, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties omrsClassificationProperties) Description copied from class:ClassificationMapperMap attributes we know are part of this type to OMRS.- Specified by:
mapKnownAttributesToOmrsin classClassificationMapper- Parameters:
omasClassification- omasclassificationomrsClassificationProperties- omrs properties- Returns:
- set of property Names that we know about.
-
getTypeName
-
createOmasClassification
protected org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.Classification createOmasClassification()Description copied from class:ClassificationMapperget an instance of the classification- Specified by:
createOmasClassificationin classClassificationMapper- Returns:
- classification instance
-
updateOMRSAttributes
protected org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties updateOMRSAttributes(org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.Classification omasClassification) - Specified by:
updateOMRSAttributesin classClassificationMapper
-