WIP: страницы для правил #62
67
src/main/java/ru/ulstu/extractor/model/Rule.java
Normal file
67
src/main/java/ru/ulstu/extractor/model/Rule.java
Normal file
@ -0,0 +1,67 @@
|
||||
package ru.ulstu.extractor.model;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
|
||||
@Entity
|
||||
public class Rule extends BaseEntity {
|
||||
private String measure1;
|
||||
|
||||
private String timeSeries1;
|
||||
|
||||
private String measure2;
|
||||
|
||||
private String timeSeries2;
|
||||
|
||||
private String action;
|
||||
|
||||
public Rule() {
|
||||
}
|
||||
|
||||
public Rule(String measure1, String timeSeries1, String measure2, String timeSeries2, String action) {
|
||||
this.measure1 = measure1;
|
||||
this.timeSeries1 = timeSeries1;
|
||||
this.measure2 = measure2;
|
||||
this.timeSeries2 = timeSeries2;
|
||||
this.action = action;
|
||||
}
|
||||
|
||||
public String getMeasure1() {
|
||||
return measure1;
|
||||
}
|
||||
|
||||
public String getTimeSeries1() {
|
||||
return timeSeries1;
|
||||
}
|
||||
|
||||
public String getMeasure2() {
|
||||
return measure2;
|
||||
}
|
||||
|
||||
public String getTimeSeries2() {
|
||||
return timeSeries2;
|
||||
}
|
||||
|
||||
public void setMeasure1(String measure1) {
|
||||
this.measure1 = measure1;
|
||||
}
|
||||
|
||||
public void setTimeSeries1(String timeSeries1) {
|
||||
this.timeSeries1 = timeSeries1;
|
||||
}
|
||||
|
||||
public void setMeasure2(String measure2) {
|
||||
this.measure2 = measure2;
|
||||
}
|
||||
|
||||
public void setTimeSeries2(String timeSeries2) {
|
||||
this.timeSeries2 = timeSeries2;
|
||||
}
|
||||
|
||||
public String getAction() {
|
||||
return action;
|
||||
}
|
||||
|
||||
public void setAction(String action) {
|
||||
this.action = action;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user