Revision 35658
Added by Antonis Lempesis over 9 years ago
Publisher.java | ||
---|---|---|
10 | 10 |
private String name; |
11 | 11 |
private String email; |
12 | 12 |
private Person contact; |
13 |
private float APC; |
|
13 | 14 |
private float discount; |
14 | 15 |
private String source; |
15 | 16 |
|
... | ... | |
17 | 18 |
this.id = id; |
18 | 19 |
} |
19 | 20 |
|
20 |
public Publisher(String id, String name, String email, Person contact, float discount, String source) { |
|
21 |
this.id = id; |
|
22 |
this.name = name; |
|
23 |
this.email = email; |
|
24 |
this.contact = contact; |
|
25 |
this.discount = discount; |
|
26 |
this.source = source; |
|
27 |
} |
|
21 |
public Publisher(String id, String name, String email, Person contact, float APC, float discount, String source) { |
|
22 |
this.id = id; |
|
23 |
this.name = name; |
|
24 |
this.email = email; |
|
25 |
this.contact = contact; |
|
26 |
this.APC = APC; |
|
27 |
this.discount = discount; |
|
28 |
this.source = source; |
|
29 |
} |
|
28 | 30 |
|
29 |
public Publisher() {
|
|
31 |
public Publisher() {
|
|
30 | 32 |
} |
31 | 33 |
|
32 | 34 |
public String getId() { |
... | ... | |
69 | 71 |
this.discount = discount; |
70 | 72 |
} |
71 | 73 |
|
72 |
public String getSource() { |
|
74 |
public float getAPC() { |
|
75 |
return APC; |
|
76 |
} |
|
77 |
|
|
78 |
public void setAPC(float APC) { |
|
79 |
this.APC = APC; |
|
80 |
} |
|
81 |
|
|
82 |
public String getSource() { |
|
73 | 83 |
return source; |
74 | 84 |
} |
75 | 85 |
|
Also available in: Unified diff