+ private static final long serialVersionUID = -7796845092457926842L;
+
+ @Id
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ @Column(name = "id")
+ private int id;
+
+ @Column(name = "closedLoopControlName", nullable = false, length = 255)
+ @OrderBy("asc")
+ private String closedLoopControlName;
+
+ @Column(name = "alarmConditions", nullable = true, length = 255)
+ private String alarmConditions;
+
+ @Column(name = "yaml", nullable = true, length = 1028)
+ private String yaml;
+
+ public ClosedLoops() {
+ // An empty constructor
+ }
+
+ public int getId() {
+ return id;
+ }
+
+ public void setId(int id) {
+ this.id = id;
+ }
+
+ public String getClosedLoopControlName() {
+ return closedLoopControlName;
+ }
+
+ public void setClosedLoopControlName(String closedLoopControlName) {
+ this.closedLoopControlName = closedLoopControlName;
+ }
+
+ public String getAlarmConditions() {
+ return alarmConditions;
+ }
+
+ public void setAlarmConditions(String alarmConditions) {
+ this.alarmConditions = alarmConditions;
+ }
+
+ public String getYaml() {
+ return yaml;
+ }
+
+ public void setYaml(String yaml) {
+ this.yaml = yaml;
+ }