01: package org.osbl.domain.model;
02:
03: import org.conform.Property;
04:
05: import java.util.List;
06:
07: public class Domain {
08: Long id;
09: @Property(writable="false")
10: String key;
11: @Property(writable="false")
12: String type;
13:
14: List<DomainValue> values;
15:
16: public Long getId() {
17: return id;
18: }
19:
20: public void setId(Long id) {
21: this .id = id;
22: }
23:
24: public String getKey() {
25: return key;
26: }
27:
28: public void setKey(String key) {
29: this .key = key;
30: }
31:
32: public String getType() {
33: return type;
34: }
35:
36: public void setType(String type) {
37: this .type = type;
38: }
39:
40: public List<DomainValue> getValues() {
41: return values;
42: }
43:
44: public void setValues(List<DomainValue> values) {
45: this .values = values;
46: }
47:
48: public String toString() {
49: return getKey();
50: }
51: }
|