View Javadoc
1   /******************************************************************************
2    * Actor.java - Actor domain object
3    * $Id: Actor.java,v 1.3 2015/05/05 17:10:14 dick Exp $
4    * 
5    * BuckoVidLib - The BuckoSoft Video Library
6    * Copyright(c) 2014 - Dick Balaska
7    * 
8    * $Log: Actor.java,v $
9    * Revision 1.3  2015/05/05 17:10:14  dick
10   * When processing a video, check if Director/Writer/Actor/Genre exists in the database before writing a new one.
11   *
12   * Revision 1.2  2015/04/02 23:23:18  dick
13   * Add a convienece constructor.
14   *
15   * Revision 1.1  2014/10/31 06:53:11  dick
16   * Actor domain object.
17   *
18   */
19  package com.buckosoft.BuckoVidLib.domain;
20  
21  /** Define an Actor
22   * @author dick
23   * @since 2014-10-31
24   */
25  public class Actor {
26  	private	int		id;
27  	private	String	name;
28  	private	int		plexId;
29  	private	String	thumb;
30  	
31  	public Actor(){}
32  	
33  	public Actor(String name) {
34  		this.name = name;
35  	}
36  
37  	public void clone(Actor other) {
38  		this.id = other.id;
39  		this.name = other.name;
40  		this.plexId = other.plexId;
41  		this.thumb = other.thumb;
42  	}
43  	/**
44  	 * @return the id
45  	 */
46  	public int getId() {
47  		return id;
48  	}
49  	/**
50  	 * @param id the id to set
51  	 */
52  	public void setId(int id) {
53  		this.id = id;
54  	}
55  	/**
56  	 * @return the name
57  	 */
58  	public String getName() {
59  		return name;
60  	}
61  	/**
62  	 * @param name the name to set
63  	 */
64  	public void setName(String name) {
65  		this.name = name;
66  	}
67  	/**
68  	 * @return the plexId
69  	 */
70  	public int getPlexId() {
71  		return plexId;
72  	}
73  	/**
74  	 * @param plexId the plexId to set
75  	 */
76  	public void setPlexId(int plexId) {
77  		this.plexId = plexId;
78  	}
79  	/**
80  	 * @return the thumb
81  	 */
82  	public String getThumb() {
83  		return thumb;
84  	}
85  	/**
86  	 * @param thumb the thumb to set
87  	 */
88  	public void setThumb(String thumb) {
89  		this.thumb = thumb;
90  	}
91  	
92  
93  }