1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package com.ontotext.ordi.tripleset;
19
20 import java.util.Set;
21
22 import org.openrdf.model.Resource;
23 import org.openrdf.model.URI;
24 import org.openrdf.model.Value;
25 import org.openrdf.model.ValueFactory;
26
27 public interface TFactory extends ValueFactory {
28
29 /**
30 * Creates a new tripleset statement with the supplied subject, predicate,
31 * object, graph name and associated triplesets.
32 *
33 * @param subject
34 * The statement's subject.
35 * @param predicate
36 * The statement's predicate.
37 * @param object
38 * The statement's object.
39 * @param context
40 * The statement's context.
41 * @param ts
42 * The statement's tripleset.
43 * @return The created statement.
44 */
45 public TStatement createStatement(Resource subject, URI predicate,
46 Value object, Resource context, URI... ts);
47
48 /**
49 * Creates a new tripleset statement with the supplied subject, predicate,
50 * object, graph name and associated triplesets.
51 *
52 * @param subject
53 * The statement's subject.
54 * @param predicate
55 * The statement's predicate.
56 * @param object
57 * The statement's object.
58 * @param context
59 * The statement's context.
60 * @param ts
61 * The statement's tripleset.
62 * @return The created statement.
63 */
64 public TStatement createStatement(Resource subject, URI predicate,
65 Value object, Resource context, Set<URI> ts);
66 }