1 package org.andromda.core.namespace;
2
3
4
5
6
7
8 public class PropertyDefinition
9 {
10 private String name;
11
12
13
14
15
16
17 public String getName()
18 {
19 return name;
20 }
21
22
23
24
25
26
27 public void setName(final String name)
28 {
29 this.name = name;
30 }
31
32
33
34
35 private String defaultValue;
36
37
38
39
40
41
42 public String getDefaultValue()
43 {
44 return this.defaultValue;
45 }
46
47
48
49
50
51
52 public void setDefaultValue(final String defaultValue)
53 {
54 this.defaultValue = defaultValue;
55 }
56
57
58
59
60 private boolean required = true;
61
62
63
64
65
66
67
68 public void setRequired(final boolean required)
69 {
70 this.required = required;
71 }
72
73
74
75
76
77
78
79 public boolean isRequired()
80 {
81 return this.required;
82 }
83 }