IT-KIMI_SHI\SINOIT.KIMI
2018-06-01 521993214708c66a5498bd669c94a661c11484b2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package frame.role;
 
import javax.sql.DataSource;
 
public class Scenario {
 
    private String code;
    private DataSource dataSource;
    private ActivePeriod activePeriod;
    
    
    public Scenario(String code) {
        this.code = code;
        
    }
 
    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource; 
    }
 
    public void setActivePeriod(ActivePeriod activePeriod) {
        this.activePeriod = activePeriod;
    }
    
    public String getCode() {
        return code;
    }
 
    public DataSource getDataSource() {
        return dataSource;
    }
 
    public ActivePeriod getActivePeriod() {
        return activePeriod;
    }
 
    @Override
    public String toString() {
        return "datasource--" + code;
    }
 
}