View Javadoc

1   package org.musicontroller.core;
2   
3   import java.util.Date;
4   
5   public class Contract_BA {
6   	private long id;
7   	private Artist artist;
8   	private Band band;
9   	private Date begindate,enddate;
10  	
11  	public Contract_BA() {
12  		id=-1L;
13  		artist=null;
14  		band=null;
15  		begindate=null;
16  		enddate=null;
17  	}
18  	
19  	public Artist getArtist() {
20  		return artist;
21  	}
22  	
23  	public void setArtist(Artist artist) {
24  		this.artist = artist;
25  	}
26  	
27  	public Band getBand() {
28  		return band;
29  	}
30  	
31  	public void setBand(Band band2) {
32  		this.band = band2;
33  	}
34  	
35  	public Date getBegindate() {
36  		return begindate;
37  	}
38  	
39  	public void setBegindate(Date begindate) {
40  		this.begindate = begindate;
41  	}
42  	
43  	public Date getEnddate() {
44  		return enddate;
45  	}
46  	
47  	public void setEnddate(Date enddate) {
48  		this.enddate = enddate;
49  	}
50  	
51  	public long getId() {
52  		return id;
53  	}
54  	
55  	public void setId(long id) {
56  		this.id = id;
57  	}
58  		
59  	
60  /*
61   *   id int8 NOT NULL,
62    band_id int8,
63    artist_id int8,
64    begindate timestamp,
65    enddate timestamp,
66   */
67  }