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

com.imsweb.validation.translation.TranslationResult Maven / Gradle / Ivy

Go to download

This project allows a Genedits Metafile to be translated into Groovy edits that can be executed in the SEER Validation framework.

The newest version!
/*
 * Copyright (C) 2021 Information Management Services, Inc.
 */
package com.imsweb.validation.translation;

import java.util.List;
import java.util.Map;
import java.util.SortedMap;

import com.imsweb.validation.entities.Validator;

public class TranslationResult {

    // new validator
    private Validator _validator;

    // new edits mappings
    private Map _newEditsMappings;

    // new sets mappings
    private Map _newSetsMappings;

    // new validator properties
    private Map _newValidatorProperties;

    // the tables and indexes used in at least one edit
    private SortedMap _usedTablesAndIndexes;

    // the "old" mapping keyed by edit name
    private Map _namesMapping;

    // the translation errors
    private List _translateErrorMessages;

    public Validator getValidator() {
        return _validator;
    }

    public void setValidator(Validator validator) {
        _validator = validator;
    }

    public Map getNewEditsMappings() {
        return _newEditsMappings;
    }

    public void setNewEditsMappings(Map newEditsMappings) {
        _newEditsMappings = newEditsMappings;
    }

    public Map getNewSetsMappings() {
        return _newSetsMappings;
    }

    public void setNewSetsMappings(Map newSetsMappings) {
        _newSetsMappings = newSetsMappings;
    }

    public Map getNewValidatorProperties() {
        return _newValidatorProperties;
    }

    public void setNewValidatorProperties(Map newValidatorProperties) {
        _newValidatorProperties = newValidatorProperties;
    }

    public SortedMap getUsedTablesAndIndexes() {
        return _usedTablesAndIndexes;
    }

    public void setUsedTablesAndIndexes(SortedMap usedTablesAndIndexes) {
        _usedTablesAndIndexes = usedTablesAndIndexes;
    }

    public Map getNamesMapping() {
        return _namesMapping;
    }

    public void setNamesMapping(Map namesMapping) {
        _namesMapping = namesMapping;
    }

    public List getTranslateErrorMessages() {
        return _translateErrorMessages;
    }

    public void setTranslateErrorMessages(List translateErrorMessages) {
        _translateErrorMessages = translateErrorMessages;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy