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

knowledgepixels / nanodash / 17837235071

18 Sep 2025 05:58PM UTC coverage: 13.87%. Remained the same
17837235071

push

github

tkuhn
chore: Remove serialVersionUIDs

443 of 4022 branches covered (11.01%)

Branch coverage included in aggregate %.

1133 of 7341 relevant lines covered (15.43%)

0.68 hits per line

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

0.0
src/main/java/com/knowledgepixels/nanodash/component/StatementPartItem.java
1
package com.knowledgepixels.nanodash.component;
2

3
import org.apache.wicket.markup.html.panel.Panel;
4

5
/**
6
 * Represents a part of a statement consisting of subject, predicate, and object.
7
 */
8
public class StatementPartItem extends Panel {
9

10
    private final ValueItem subjItem, predItem, objItem;
11

12
    /**
13
     * Constructor for creating a StatementPartItem.
14
     *
15
     * @param id       the component ID
16
     * @param subjItem subject item
17
     * @param predItem predicate item
18
     * @param objItem  object item
19
     */
20
    public StatementPartItem(String id, ValueItem subjItem, ValueItem predItem, ValueItem objItem) {
21
        super(id);
×
22
        this.subjItem = subjItem;
×
23
        this.predItem = predItem;
×
24
        this.objItem = objItem;
×
25
        add(subjItem);
×
26
        add(predItem);
×
27
        add(objItem);
×
28
    }
×
29

30
    /**
31
     * Gets the subject item.
32
     *
33
     * @return the subject item
34
     */
35
    public ValueItem getSubject() {
36
        return subjItem;
×
37
    }
38

39
    /**
40
     * Gets the predicate item.
41
     *
42
     * @return the predicate item
43
     */
44
    public ValueItem getPredicate() {
45
        return predItem;
×
46
    }
47

48
    /**
49
     * Gets the object item.
50
     *
51
     * @return the object item
52
     */
53
    public ValueItem getObject() {
54
        return objItem;
×
55
    }
56

57
    /**
58
     * Returns a string representation of the statement part.
59
     *
60
     * @return a string in the format "subject predicate object"
61
     */
62
    public String toString() {
63
        return subjItem + " " + predItem + " " + objItem;
×
64
    }
65

66
}
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