X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.layer0.utils%2Fsrc%2Forg%2Fsimantics%2Flayer0%2Futils%2FbinaryPredicates%2FBinaryPredicate.java;h=9b1721fa47ee7e8d2136498e94fa0c6abd9e2fe2;hb=9c6fc8525df9a7d713cee3ef4c1fee058dc4b3c5;hp=bfe09ad02e8944414a06c2298933d9e1786b0937;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/binaryPredicates/BinaryPredicate.java b/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/binaryPredicates/BinaryPredicate.java index bfe09ad02..9b1721fa4 100644 --- a/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/binaryPredicates/BinaryPredicate.java +++ b/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/binaryPredicates/BinaryPredicate.java @@ -1,28 +1,28 @@ -/******************************************************************************* - * 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.layer0.utils.binaryPredicates; - -import org.simantics.db.ReadGraph; -import org.simantics.db.exception.DatabaseException; - -public abstract class BinaryPredicate implements IBinaryPredicate { - - @Override - public IBinaryPredicate inverse(ReadGraph g) throws DatabaseException { - return new InversePredicate(this); - } - - public String toString(ReadGraph g) throws DatabaseException { - return getClass().getName(); - } - -} +/******************************************************************************* + * 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.layer0.utils.binaryPredicates; + +import org.simantics.db.ReadGraph; +import org.simantics.db.exception.DatabaseException; + +public abstract class BinaryPredicate implements IBinaryPredicate { + + @Override + public IBinaryPredicate inverse(ReadGraph g) throws DatabaseException { + return new InversePredicate(this); + } + + public String toString(ReadGraph g) throws DatabaseException { + return getClass().getName(); + } + +}