⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 movie.java

📁 Sun公司Dream项目
💻 JAVA
字号:
/*
 * The contents of this file are subject to the terms
 * of the Common Development and Distribution License
 * (the "License").  You may not use this file except
 * in compliance with the License.
 *
 * You can obtain a copy of the license at
 * http://www.opensource.org/licenses/cddl1.php
 * See the License for the specific language governing
 * permissions and limitations under the License.
 *
 * When distributing Covered Code, include this CDDL
 * HEADER in each file and include the License file at
 * http://www.opensource.org/licenses/cddl1.php.  If 
 * applicable, add the following below this CDDL HEADER, 
 * with the fields enclosed by brackets "[]" replaced 
 * with your own identifying information: 
 * Portions Copyright [yyyy]
 * [name of copyright owner]
 */ 

/*
 * $(@)Movie.java $Revision: 1.1.1.1 $ $Date: 2006/03/15 13:12:10 $
 * 
 * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
 */
/**

 *

 * @version: 1.0

 * @date: Sept 30, 2002

 *

 */

package com.sun.sjc.idtv.vod.shared.data;



import java.io.*;

import java.util.*;



/**

 * Movie class.

 *

 * @see 

 */

public class Movie implements Serializable {



    public long id;

    public String externalid; // lysisid

    public String fulltitle;

    public String origtitle;

    public String shorttitle;

    public String shortdescr;

    public String longdescr;

    public int version;

    public int genreid;

    public String genrename;

    public String prodcompany;

    public Date proddate;

    public String releasedate;

    public String country;

    public int screenformat;

    public String showing;

    public int boxofficeratingid;

    public String boxofficerating;

    public int parentratingid;

    public String parentrating;

    public int duration;

    public boolean color;

    public boolean stereo;

    public boolean surround;

    public boolean dolby;

    public String dvbcontent;

    public Date startdate;

    public Date enddate;

    public float stdprice;

    public float minprice;

    public String movieurl;

    public String posterurl;

    public boolean CAS;

    public String CID;



    public String[] actors = new String[0];

    public String[] producers = new String[0];

    public String[] directors = new String[0];

    public String[] composers = new String[0];

    public String[] imageurls = new String[0];

    public String[] trailerurls = new String[0];



    public String enctype;

    public String sourcefile;



    public Movie() {



    }



    public String toString() {



	String s = "[" +

	    id + "|" +

	    externalid + "|" +

	    fulltitle + "|" +

	    origtitle + "|" +

	    shorttitle + "|" +

	    shortdescr + "|" +

	    longdescr + "|" +

	    version + "|" +

	    genreid + "|" +

	    genrename + "|" +

	    prodcompany + "|" +

	    proddate + "|" +

	    releasedate + "|" +

	    country + "|" +

	    screenformat + "|" +

	    showing + "|" +

	    boxofficeratingid + "|" +

	    boxofficerating + "|" +

	    parentratingid + "|" +

	    parentrating + "|" +

	    duration + "|" +

	    color + "|" +

	    stereo + "|" +

	    surround + "|" +

	    dolby + "|" +

	    dvbcontent + "|" +

	    startdate + "|" +

	    enddate + "|" +

	    stdprice + "|" +

	    minprice + "|" +

	    movieurl + "|" +

	    posterurl;

	

	for (int i=0; i<actors.length; i++) {

	    s += "|" + actors[i];

	}

	for (int i=0; i<producers.length; i++) {

	    s += "|" + producers[i];

	}

	for (int i=0; i<directors.length; i++) {

	    s += "|" + directors[i];

	}

	for (int i=0; i<composers.length; i++) {

	    s += "|" + composers[i];

	}

	for (int i=0; i<imageurls.length; i++) {

	    s += "|" + imageurls[i];

	}

	for (int i=0; i<trailerurls.length; i++) {

	    s += "|" + trailerurls[i];

	}	s += "]\n";

	return s;

    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -