blob: 16b8102e0593797e6a47a1a84e72af423939872b [file] [log] [blame]
/*
* Copyright (c) 1998, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0,
* or the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/
// Contributors:
// Oracle - initial API and implementation from Oracle TopLink
package org.eclipse.persistence.testing.models.interfaces;
import java.io.*;
import java.util.*;
/**
* Schedule has a collection of TVSegments which are Commercials or Shows.
* and a broadcastor which is a Network, all relationships are done through interfaces to test them.
*/
public class TVSchedule implements Serializable {
public Double id;
public Vector segments = new Vector();
public Broadcastor broadcastor;
public Date timeSpot;
public TVSchedule() {
Calendar c = Calendar.getInstance();
c.set(1998, 4, 15);
c.set(Calendar.MILLISECOND, 0);
this.timeSpot = c.getTime();
}
public String toString() {
return "TVSchedule";
}
}