blob: 6374f7a0f0c1dabf0a31f02a8e0b87a8f9e9fdaa [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 1998, 2013 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 v1.0 and Eclipse Distribution License v. 1.0
* which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* 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";
}
}