• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mybatis / jpetstore-6 / 2373

25 Jul 2026 01:59AM UTC coverage: 83.278% (+11.3%) from 72.006%
2373

Pull #1076

github

hazendaz
[ci] Correct supported versions
Pull Request #1076: Fix CDI bean discovery, JSTL TLD conflict, and CI startup timing on Jakarta EE full-profile containers

47 of 98 branches covered (47.96%)

108 of 198 new or added lines in 6 files covered. (54.55%)

5 existing lines in 1 file now uncovered.

498 of 598 relevant lines covered (83.28%)

0.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

76.32
/src/main/java/org/mybatis/jpetstore/domain/Item.java
1
/*
2
 *    Copyright 2010-2026 the original author or authors.
3
 *
4
 *    Licensed under the Apache License, Version 2.0 (the "License");
5
 *    you may not use this file except in compliance with the License.
6
 *    You may obtain a copy of the License at
7
 *
8
 *       https://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 *    Unless required by applicable law or agreed to in writing, software
11
 *    distributed under the License is distributed on an "AS IS" BASIS,
12
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 *    See the License for the specific language governing permissions and
14
 *    limitations under the License.
15
 */
16
package org.mybatis.jpetstore.domain;
17

18
import java.io.Serializable;
19
import java.math.BigDecimal;
20

21
/**
22
 * The Class Item.
23
 *
24
 * @author Eduardo Macarron
25
 */
26
public class Item implements Serializable {
1✔
27

28
  private static final long serialVersionUID = -2159121673445254631L;
29

30
  private String itemId;
31
  private BigDecimal listPrice;
32
  private BigDecimal unitCost;
33
  private int supplierId;
34
  private String status;
35
  private String attribute1;
36
  private String attribute2;
37
  private String attribute3;
38
  private String attribute4;
39
  private String attribute5;
40
  private Product product;
41
  private int quantity;
42

43
  public String getItemId() {
44
    return itemId;
1✔
45
  }
46

47
  public void setItemId(String itemId) {
48
    this.itemId = itemId.trim();
1✔
49
  }
1✔
50

51
  public int getQuantity() {
52
    return quantity;
1✔
53
  }
54

55
  public void setQuantity(int quantity) {
56
    this.quantity = quantity;
1✔
57
  }
1✔
58

59
  public Product getProduct() {
60
    return product;
1✔
61
  }
62

63
  public void setProduct(Product product) {
64
    this.product = product;
1✔
65
  }
1✔
66

67
  public int getSupplierId() {
68
    return supplierId;
1✔
69
  }
70

71
  public void setSupplierId(int supplierId) {
72
    this.supplierId = supplierId;
1✔
73
  }
1✔
74

75
  public BigDecimal getListPrice() {
76
    return listPrice;
1✔
77
  }
78

79
  public void setListPrice(BigDecimal listPrice) {
80
    this.listPrice = listPrice;
1✔
81
  }
1✔
82

83
  public BigDecimal getUnitCost() {
84
    return unitCost;
1✔
85
  }
86

87
  public void setUnitCost(BigDecimal unitCost) {
88
    this.unitCost = unitCost;
1✔
89
  }
1✔
90

91
  public String getStatus() {
92
    return status;
1✔
93
  }
94

95
  public void setStatus(String status) {
96
    this.status = status;
1✔
97
  }
1✔
98

99
  public String getAttribute1() {
100
    return attribute1;
1✔
101
  }
102

103
  public void setAttribute1(String attribute1) {
104
    this.attribute1 = attribute1;
1✔
105
  }
1✔
106

107
  public String getAttribute2() {
108
    return attribute2;
1✔
109
  }
110

111
  public void setAttribute2(String attribute2) {
UNCOV
112
    this.attribute2 = attribute2;
×
113
  }
×
114

115
  public String getAttribute3() {
116
    return attribute3;
1✔
117
  }
118

119
  public void setAttribute3(String attribute3) {
UNCOV
120
    this.attribute3 = attribute3;
×
121
  }
×
122

123
  public String getAttribute4() {
124
    return attribute4;
1✔
125
  }
126

127
  public void setAttribute4(String attribute4) {
UNCOV
128
    this.attribute4 = attribute4;
×
129
  }
×
130

131
  public String getAttribute5() {
132
    return attribute5;
1✔
133
  }
134

135
  public void setAttribute5(String attribute5) {
UNCOV
136
    this.attribute5 = attribute5;
×
137
  }
×
138

139
  @Override
140
  public String toString() {
UNCOV
141
    return "(" + getItemId() + "-" + getProduct().getProductId() + ")";
×
142
  }
143

144
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc