Added Android code
[wl-app.git] / Android / r2-streamer / r2-parser / src / main / java / org / readium / r2_streamer / model / publication / contributor / Contributor.java
1 package org.readium.r2_streamer.model.publication.contributor;
2
3 import java.io.Serializable;
4
5 /**
6  * Created by Shrikant Badwaik on 25-Jan-17.
7  */
8
9 public class Contributor implements Serializable {
10     private static final long serialVersionUID = 7666462295622776147L;
11     public String name;
12     public String sortAs;
13     public String identifier;
14     public String role;
15
16     public Contributor() {
17     }
18
19     @Override
20     public String toString() {
21         return "Contributor{" +
22                 "name='" + name + '\'' +
23                 ", sortAs='" + sortAs + '\'' +
24                 ", identifier='" + identifier + '\'' +
25                 ", role='" + role + '\'' +
26                 '}';
27     }
28
29     public Contributor(String name) {
30         this.name = name;
31     }
32
33     public String getName() {
34         return name;
35     }
36
37     public void setName(String name) {
38         this.name = name;
39     }
40
41     public String getSortAs() {
42         return sortAs;
43     }
44
45     public void setSortAs(String sortAs) {
46         this.sortAs = sortAs;
47     }
48
49     public String getIdentifier() {
50         return identifier;
51     }
52
53     public void setIdentifier(String identifier) {
54         this.identifier = identifier;
55     }
56
57     public String getRole() {
58         return role;
59     }
60
61     public void setRole(String role) {
62         this.role = role;
63     }
64 }