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

com.imsweb.validation.translation.metafile.Metafile Maven / Gradle / Ivy

/*
 * Copyright (C) 2016 Information Management Services, Inc.
 */
package com.imsweb.validation.translation.metafile;

import java.util.List;
import java.util.Objects;

public class Metafile {

    private String _name;

    private String _structureVersion;

    private String _contentVersion;

    private String _comment;

    private List _agencies;

    private List _messages;

    private List _fields;

    private List _edits;

    private List _tables;

    private List _sets;

    public String getName() {
        return _name;
    }

    public void setName(String name) {
        _name = name;
    }

    public String getStructureVersion() {
        return _structureVersion;
    }

    public void setStructureVersion(String structureVersion) {
        _structureVersion = structureVersion;
    }

    public String getContentVersion() {
        return _contentVersion;
    }

    public void setContentVersion(String contentVersion) {
        _contentVersion = contentVersion;
    }

    public String getComment() {
        return _comment;
    }

    public void setComment(String comment) {
        _comment = comment;
    }

    public List getAgencies() {
        return _agencies;
    }

    public void setAgencies(List agencies) {
        _agencies = agencies;
    }

    public List getMessages() {
        return _messages;
    }

    public void setMessages(List messages) {
        _messages = messages;
    }

    public List getFields() {
        return _fields;
    }

    public void setFields(List fields) {
        _fields = fields;
    }

    public List getEdits() {
        return _edits;
    }

    public void setEdits(List edits) {
        _edits = edits;
    }

    public List getTables() {
        return _tables;
    }

    public void setTables(List tables) {
        _tables = tables;
    }

    public List getSets() {
        return _sets;
    }

    public void setSets(List sets) {
        _sets = sets;
    }

    @Override
    public String toString() {
        return _name;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Metafile)) return false;
        Metafile metafile = (Metafile)o;
        return Objects.equals(_name, metafile._name);
    }

    @Override
    public int hashCode() {
        return Objects.hash(_name);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy