X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2FStatement.java;h=da01bb6a35b9dcc57718b21ddd8af656cae95611;hp=788888ac39a871b03e5cecba3839e98deee98c80;hb=refs%2Fchanges%2F38%2F238%2F2;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.db/src/org/simantics/db/Statement.java b/bundles/org.simantics.db/src/org/simantics/db/Statement.java index 788888ac3..da01bb6a3 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/Statement.java +++ b/bundles/org.simantics.db/src/org/simantics/db/Statement.java @@ -1,32 +1,32 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.db; - -/** - * An object representing a single (s,p,o) statement triple in the graph. - * - * These can be stored between transactions and later used with any - * graph that has a Session with the same database. - * - * @author Tuukka Lehtonen - */ -public interface Statement { - - Statement[] NONE = new Statement[0]; - - Resource getSubject(); - Resource getPredicate(); - Resource getObject(); - - boolean isAsserted(Resource subject); - +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.db; + +/** + * An object representing a single (s,p,o) statement triple in the graph. + * + * These can be stored between transactions and later used with any + * graph that has a Session with the same database. + * + * @author Tuukka Lehtonen + */ +public interface Statement { + + Statement[] NONE = new Statement[0]; + + Resource getSubject(); + Resource getPredicate(); + Resource getObject(); + + boolean isAsserted(Resource subject); + } \ No newline at end of file