dnet45/modules/uoa-repository-manager-service/branches/aai_roles_new/src/main/java/eu/dnetlib/repo/manager/domain/dto/Role.java @ 61363
1 |
package eu.dnetlib.repo.manager.domain.dto; |
---|---|
2 |
|
3 |
import javax.xml.bind.annotation.XmlRootElement; |
4 |
|
5 |
@XmlRootElement
|
6 |
public class Role { |
7 |
String name; |
8 |
String description; |
9 |
|
10 |
public Role() {} |
11 |
|
12 |
public Role(String name, String description) { |
13 |
this.name = name; |
14 |
this.description = description; |
15 |
}
|
16 |
|
17 |
public String getName() { |
18 |
return name; |
19 |
}
|
20 |
|
21 |
public void setName(String name) { |
22 |
this.name = name; |
23 |
}
|
24 |
|
25 |
public String getDescription() { |
26 |
return description; |
27 |
}
|
28 |
|
29 |
public void setDescription(String description) { |
30 |
this.description = description; |
31 |
}
|
32 |
}
|