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

org.yamcs.xtce.Header Maven / Gradle / Ivy

The newest version!
package org.yamcs.xtce;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * A header contains general information about the system or subsystem.
 * 
 * @author mu
 * 
 */
public class Header implements Serializable {

    private static final long serialVersionUID = 2L;
    private String            version          = null;
    private String            date             = null;
    private List historyList = new ArrayList<>();


    public void setVersion(String version) {
        this.version = version;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getVersion() {
        return version;
    }

    public String getDate() {
        return date;
    }
    
    public List getHistoryList() {
        return historyList;
    }
    
    public void addHistory(History history) {
        this.historyList.add(history);
    }
    
    @Override
    public String toString() {
        return "version: "+version+", date: "+date;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy