01: package org.osbl.orga.model;
02:
03: import org.osbl.identity.model.Identity;
04: import org.conform.Property;
05: import org.osbl.persistence.model.Entity;
06:
07: import java.util.List;
08:
09: public class Member extends Entity {
10: @Property(mandatory="true")
11: Organisation organisation;
12: Identity identity;
13: List<Relationship> relationships;
14:
15: public Member() {
16: }
17:
18: public Organisation getOrganisation() {
19: return organisation;
20: }
21:
22: public void setOrganisation(Organisation organisation) {
23: this .organisation = organisation;
24: }
25:
26: public Identity getIdentity() {
27: return identity;
28: }
29:
30: public void setIdentity(Identity identity) {
31: this .identity = identity;
32: }
33:
34: public List<Relationship> getRelationships() {
35: return relationships;
36: }
37:
38: public void setRelationships(List<Relationship> relationships) {
39: this.relationships = relationships;
40: }
41: }
|