01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.sail.rdbms.model;
07:
08: import org.openrdf.model.impl.ContextStatementImpl;
09:
10: /**
11: * Rdbms typed statement.
12: *
13: * @author James Leigh
14: *
15: */
16: public class RdbmsStatement extends ContextStatementImpl {
17: private static final long serialVersionUID = -5970166748706214658L;
18:
19: public RdbmsStatement(RdbmsResource subject, RdbmsURI predicate,
20: RdbmsValue object) {
21: this (subject, predicate, object, null);
22: }
23:
24: public RdbmsStatement(RdbmsResource subject, RdbmsURI predicate,
25: RdbmsValue object, RdbmsResource context) {
26: super (subject, predicate, object, context);
27: }
28:
29: @Override
30: public RdbmsResource getSubject() {
31: return (RdbmsResource) super .getSubject();
32: }
33:
34: @Override
35: public RdbmsURI getPredicate() {
36: return (RdbmsURI) super .getPredicate();
37: }
38:
39: @Override
40: public RdbmsValue getObject() {
41: return (RdbmsValue) super .getObject();
42: }
43:
44: @Override
45: public RdbmsResource getContext() {
46: return (RdbmsResource) super.getContext();
47: }
48:
49: }
|