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

org.hl7.cql.model.ModelContext Maven / Gradle / Ivy

package org.hl7.cql.model;

import java.util.ArrayList;

/**
 * Created by Bryn on 3/20/2019.
 */
public class ModelContext {
    public ModelContext(String name, ClassType type, Iterable keys, String birthDateElement) {
        this.name = name;
        this.type = type;
        this.birthDateElement = birthDateElement;
        if (keys != null) {
            for (String key : keys) {
                this.keys.add(key);
            }
        }
    }

    private String name;

    public String getName() {
        return name;
    }

    private ClassType type;

    public ClassType getType() {
        return type;
    }

    private String birthDateElement;

    public String getBirthDateElement() {
        return birthDateElement;
    }

    private ArrayList keys = new ArrayList<>();

    public Iterable getKeys() {
        return keys;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy