/* ----------------------------------------
 * Origin  : GFI INFORMATIQUE 
 * Project : CDPP Propagation Tool 
 * ----------------------------------------
 * History 
 * Version : 06/04/2023 : LBE : V2.7
 * DM-ID : redmine#8642 : 06/04/2023 : Added 3D shockwave
 * ----------------------------------------
 */
package fr.tlse.irap.shock;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import jakarta.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Shockwave3dEvents {

    /**
     *  List of events dates
     */
    private List<Date> events = new ArrayList<Date>();
    //private List<Shockwave3dEvent> events = new ArrayList<Shockwave3dEvent>();

    public Shockwave3dEvents() {

    }

//        public void addEvent(Shockwave3dEvent pEvent) {
//            events.add(pEvent);
//        }
//
//	
//	public List<Shockwave3dEvent> getEvents() {
//		return events;
//	}
//
//	public void setEvents(List<Shockwave3dEvent> pEvents) {
//		this.events = pEvents;
//	}

    public void addEvent(Date pEvent) {
        events.add(pEvent);
    }
        
    /**
     * List of events dates
     * @return the events
     */
    public List<Date> getEvents() {
        return events;
    }

    /**
     * List of events dates
     * @param events the events to set
     */
    public void setEvents(List<Date> events) {
        this.events = events;
    }
}
