/*
- * Copyright (c) 2017. Developed by Hedgecode.
+ * Copyright (c) 2017-2020. Developed by Hedgecode.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
package org.hedgecode.snooker.json;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
*
* @author Dmitry Samoshin aka gotty
*/
-public class JsonEvents extends JsonCollectionEntity<Event> implements Events {
+public class JsonEvents extends JsonCollectionEntity<Event> implements Events, Serializable {
+
+ private static final long serialVersionUID = 3333612126168481839L;
private static final JsonEvents EMPTY = new JsonEvents(new Event[0]);
- protected JsonEvents(Event[] entities) {
+ JsonEvents(Event[] entities) {
super(entities);
}
- protected JsonEvents(List<Event> entities) {
+ JsonEvents(List<Event> entities) {
super(entities);
}