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

FIWARE / trusted-issuers-list / #17

10 Jun 2024 01:36PM UTC coverage: 82.085% (-0.3%) from 82.41%
#17

push

web-flow
Update logback.xml (#9)

252 of 307 relevant lines covered (82.08%)

0.82 hits per line

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

91.67
/src/main/java/org/fiware/iam/repository/ClaimValue.java
1
package org.fiware.iam.repository;
2

3
import com.fasterxml.jackson.annotation.JsonIgnore;
4
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
5
import io.micronaut.core.annotation.Introspected;
6
import io.micronaut.core.annotation.Nullable;
7
import jakarta.persistence.Entity;
8
import jakarta.persistence.FetchType;
9
import jakarta.persistence.GeneratedValue;
10
import jakarta.persistence.Id;
11
import jakarta.persistence.JoinColumn;
12
import jakarta.persistence.ManyToOne;
13
import lombok.Data;
14
import lombok.EqualsAndHashCode;
15
import lombok.Getter;
16
import lombok.NoArgsConstructor;
17
import lombok.ToString;
18
import lombok.experimental.Accessors;
19

20
/**
21
 * Data entity to represent the value of a claim. Could be of multiple types, thus will be stored as a json-stirng
22
 */
23
@Accessors(chain = true)
24
@Data
1✔
25
@NoArgsConstructor
1✔
26
@Introspected
27
@Getter
28
@Entity
29
@EqualsAndHashCode(exclude = "claim")
1✔
30
@ToString(exclude = "claim")
×
31
public class ClaimValue {
32

33
        @Id
34
        @GeneratedValue
35
        private Integer id;
1✔
36

37
        // should be serialized json
38
        private String value;
1✔
39

40
        @ManyToOne(fetch = FetchType.LAZY)
41
        @JoinColumn(name = "claim_id")
42
        @JsonIgnore
43
        private Claim claim;
1✔
44

45
        public ClaimValue(Integer id, String value, @Nullable Claim claim) {
1✔
46
                this.id = id;
1✔
47
                this.value = value;
1✔
48
                this.claim = claim;
1✔
49
        }
1✔
50
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc