01: package org.osbl.orga.model;
02:
03: import org.osbl.persistence.model.TreeEntity;
04: import org.conform.Property;
05:
06: import java.util.List;
07:
08: public class Organisation extends TreeEntity {
09: @Property(mandatory="true")
10: String name;
11:
12: @Property(mandatory="true")
13: String groupType;
14: @Property(mandatory="true")
15: String memberType;
16: boolean active;
17:
18: List<String> roles;
19: List<String> relations;
20:
21: public String getName() {
22: return name;
23: }
24:
25: public void setName(String name) {
26: this .name = name;
27: }
28:
29: public String getGroupType() {
30: return groupType;
31: }
32:
33: public void setGroupType(String groupType) {
34: this .groupType = groupType;
35: }
36:
37: public String getMemberType() {
38: return memberType;
39: }
40:
41: public void setMemberType(String memberType) {
42: this .memberType = memberType;
43: }
44:
45: public boolean isActive() {
46: return active;
47: }
48:
49: public void setActive(boolean active) {
50: this .active = active;
51: }
52:
53: public List<String> getRoles() {
54: return roles;
55: }
56:
57: public void setRoles(List<String> roles) {
58: this .roles = roles;
59: }
60:
61: public List<String> getRelations() {
62: return relations;
63: }
64:
65: public void setRelations(List<String> relations) {
66: this.relations = relations;
67: }
68: }
|