1 | |
2 | package de.uka.ipd.sdq.sensorframework.entities.base; |
3 | @javax.persistence.Entity |
4 | |
5 | public abstract class AbstractStateMeasurement |
6 | |
7 | extends de.uka.ipd.sdq.sensorframework.entities.base.AbstractMeasurement |
8 | |
9 | implements |
10 | de.uka.ipd.sdq.sensorframework.entities.StateMeasurement |
11 | |
12 | { |
13 | |
14 | public AbstractStateMeasurement(de.uka.ipd.sdq.sensorframework.entities.dao.IDAOFactory myFactory) { |
15 | super(myFactory); |
16 | } |
17 | |
18 | |
19 | /* Getter and Setter for Properties with cardinality 0..1 or 1 which are not a composition */ |
20 | |
21 | |
22 | |
23 | @javax.persistence.OneToOne( |
24 | |
25 | ) |
26 | @javax.persistence.JoinColumn(name="FK_SENSORSTATE") |
27 | |
28 | |
29 | private |
30 | de.uka.ipd.sdq.sensorframework.entities.State |
31 | m_sensorState; |
32 | public |
33 | |
34 | de.uka.ipd.sdq.sensorframework.entities.State |
35 | getSensorState() |
36 | { |
37 | return m_sensorState; |
38 | } |
39 | public |
40 | void setSensorState( |
41 | de.uka.ipd.sdq.sensorframework.entities.State |
42 | value) |
43 | { |
44 | this.m_sensorState = value; |
45 | } |
46 | ; |
47 | |
48 | |
49 | @javax.persistence.OneToOne( |
50 | |
51 | ) |
52 | @javax.persistence.JoinColumn(name="FK_SENSOR") |
53 | |
54 | |
55 | private |
56 | de.uka.ipd.sdq.sensorframework.entities.StateSensor |
57 | m_sensor; |
58 | public |
59 | |
60 | de.uka.ipd.sdq.sensorframework.entities.StateSensor |
61 | getSensor() |
62 | { |
63 | return m_sensor; |
64 | } |
65 | public |
66 | void setSensor( |
67 | de.uka.ipd.sdq.sensorframework.entities.StateSensor |
68 | value) |
69 | { |
70 | this.m_sensor = value; |
71 | } |
72 | |
73 | |
74 | /* Getter and Setter for Properties with cardinality 0..1 or 1 which are a composition */ |
75 | |
76 | |
77 | /* Getter and Setter for Properties with cardinality 0..* which are not a composition */ |
78 | |
79 | |
80 | /* Getter and Setter for Properties with cardinality 0..* which are a composition */ |
81 | |
82 | |
83 | /* Abstract Operations */ |
84 | |
85 | } |
86 | |