Revision 34183
Added by Michele Artini over 9 years ago
HibDnetServiceProperty.java | ||
---|---|---|
23 | 23 |
|
24 | 24 |
public HibDnetServiceProperty() {} |
25 | 25 |
|
26 |
public HibDnetServiceProperty(final HibDnetService service, final String name, final String value) { |
|
27 |
this.id = new HibDnetServicePropertyId(service, name); |
|
28 |
this.value = value; |
|
29 |
} |
|
30 |
|
|
31 | 26 |
protected HibDnetServiceProperty(final HibDnetServicePropertyId id, final String value) { |
32 | 27 |
this.id = id; |
33 | 28 |
this.value = value; |
34 | 29 |
} |
35 | 30 |
|
36 |
public HibDnetService getService() {
|
|
37 |
return id.getService();
|
|
31 |
public String getValue() {
|
|
32 |
return value;
|
|
38 | 33 |
} |
39 | 34 |
|
40 |
public void setService(final HibDnetService service) {
|
|
41 |
this.id.setService(service);
|
|
35 |
public void setValue(final String value) {
|
|
36 |
this.value = value;
|
|
42 | 37 |
} |
43 | 38 |
|
44 |
public String getName() {
|
|
45 |
return id.getName();
|
|
39 |
public HibDnetServicePropertyId getId() {
|
|
40 |
return id; |
|
46 | 41 |
} |
47 | 42 |
|
48 |
public void setName(final String name) {
|
|
49 |
id.setName(name);
|
|
43 |
public void setId(final HibDnetServicePropertyId id) {
|
|
44 |
this.id = id;
|
|
50 | 45 |
} |
51 |
|
|
52 |
public String getValue() { |
|
53 |
return value; |
|
54 |
} |
|
55 |
|
|
56 |
public void setValue(final String value) { |
|
57 |
this.value = value; |
|
58 |
} |
|
59 | 46 |
} |
Also available in: Unified diff
sql setup file