1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package olr.rdf;
20
21
22
23 public class Statement extends Attribute
24 {
25
26 public Statement(String subject, String predicate, String object)
27 {
28 super(predicate, object);
29 this.subject = Tools.correctURI(subject);
30 }
31
32 public Statement(String subject, String predicate, String object, int ID)
33 {
34 super(predicate, object, ID);
35 this.subject = Tools.correctURI(subject);
36 }
37
38 public String getSubject()
39 {
40 return subject;
41 }
42
43 public String toString()
44 {
45 return String.valueOf(String.valueOf((new StringBuffer(String.valueOf(String.valueOf(subject.toString())))).append(':').append(super.toString())));
46 }
47
48 protected String subject;
49 }