All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.isda.cdm.qualify.CdmQualificationHandlerProvider Maven / Gradle / Ivy

There is a newer version: 6.0.0-dev.89
Show newest version
package org.isda.cdm.qualify;

import cdm.event.common.BusinessEvent;
import cdm.product.template.NonTransferableProduct;
import com.google.common.collect.ImmutableMap;
import com.regnosys.rosetta.common.postprocess.qualify.QualificationHandler;
import com.regnosys.rosetta.common.postprocess.qualify.QualificationHandlerProvider;

import java.util.Map;

public class CdmQualificationHandlerProvider implements QualificationHandlerProvider {

    private final Map, QualificationHandler> handlerMap =
            ImmutableMap., QualificationHandler>builder()
                    .put(NonTransferableProduct.class, new EconomicTermsQualificationHandler())
                    .put(BusinessEvent.class, new BusinessEventQualificationHandler())
                    .build();

    @Override
    public Map, QualificationHandler> getQualificationHandlerMap() {
        return handlerMap;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy