1. Project Clover database Wed Jan 17 2024 23:40:18 CST
  2. Package org.europa.together.domain

File PaginationTestDO.java

 

Coverage histogram

../../../../img/srcFileCovDistChart1.png
97% of files have more coverage

Code metrics

0
19
19
1
133
93
19
1
1
19
1

Classes

Class Line # Actions
PaginationTestDO 15 19 0% 19 34
0.1052631610.5%
 

Contributing tests

This file is covered by 15 tests. .

Source view

1    package org.europa.together.domain;
2   
3    import java.io.Serializable;
4    import java.util.Date;
5    import jakarta.persistence.Column;
6    import jakarta.persistence.Entity;
7    import jakarta.persistence.Id;
8    import jakarta.persistence.Table;
9    import jakarta.persistence.Temporal;
10    import jakarta.persistence.TemporalType;
11    import org.europa.together.utils.StringUtils;
12   
13    @Entity
14    @Table(name = "PAGINATION_TEST")
 
15    public class PaginationTestDO implements Serializable {
16   
17    private static final long serialVersionUID = 9999L;
18   
19    /**
20    * The name of the used database table for this domain object.
21    */
22    public static final String TABLE_NAME = "PAGINATION_TEST";
23   
24    @Id //validate uuid
25    @Column(name = "IDX")
26    private String uuid;
27   
28    @Column(name = "INT_VALUE")
29    private Integer intNumber;
30   
31    @Column(name = "FLOAT_VALUE")
32    private Float floatNumber;
33   
34    @Column(name = "DATE_VALUE")
35    @Temporal(TemporalType.TIMESTAMP)
36    private Date dateValue;
37   
38    @Column(name = "CONF_KEY")
39    private String key;
40   
41    @Column(name = "CONF_VALUE")
42    private String value;
43   
44    @Column(name = "MODUL_NAME")
45    private String modulName;
46   
47    @Column(name = "CONF_SET")
48    private String configurationSet;
49   
50    @Column(name = "DEPRECATED")
51    private boolean deprecated;
52   
53    /**
54    * Constructor.
55    */
 
56  1515 toggle public PaginationTestDO() {
57  1515 this.uuid = StringUtils.generateUUID();
58    }
59   
60    //<editor-fold defaultstate="collapsed" desc="Getter / Setter">
 
61  28 toggle public String getUuid() {
62  28 return uuid;
63    }
64   
 
65  0 toggle public void setUuid(String uuid) {
66  0 this.uuid = uuid;
67    }
68   
 
69  0 toggle public Integer getInt_number() {
70  0 return intNumber;
71    }
72   
 
73  0 toggle public void setInt_number(Integer int_number) {
74  0 this.intNumber = int_number;
75    }
76   
 
77  0 toggle public Float getFloat_number() {
78  0 return floatNumber;
79    }
80   
 
81  0 toggle public void setFloat_number(Float float_number) {
82  0 this.floatNumber = float_number;
83    }
84   
 
85  0 toggle public Date getCurrentDate() {
86  0 return dateValue;
87    }
88   
 
89  0 toggle public void setCurrentDate(Date currentDate) {
90  0 this.dateValue = currentDate;
91    }
92   
 
93  0 toggle public String getKey() {
94  0 return key;
95    }
96   
 
97  0 toggle public void setKey(String key) {
98  0 this.key = key;
99    }
100   
 
101  0 toggle public String getValue() {
102  0 return value;
103    }
104   
 
105  0 toggle public void setValue(String value) {
106  0 this.value = value;
107    }
108   
 
109  0 toggle public String getModulName() {
110  0 return modulName;
111    }
112   
 
113  0 toggle public void setModulName(String modulName) {
114  0 this.modulName = modulName;
115    }
116   
 
117  0 toggle public String getConfigurationSet() {
118  0 return configurationSet;
119    }
120   
 
121  0 toggle public void setConfigurationSet(String configurationSet) {
122  0 this.configurationSet = configurationSet;
123    }
124   
 
125  0 toggle public boolean isDeprecated() {
126  0 return deprecated;
127    }
128   
 
129  0 toggle public void setDeprecated(boolean deprecated) {
130  0 this.deprecated = deprecated;
131    }
132    //</editor-fold>
133    }