X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.impl%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fimpl%2Fsupport%2FResourceSupport.java;h=f78f436f0689fc3e3922b6c110746008636dc0d3;hb=199e71d04a503618e59a1667ea3abee36be08732;hp=998d8384398e37abe74e53dbcf8c3b5d931e9849;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/support/ResourceSupport.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/support/ResourceSupport.java index 998d83843..f78f436f0 100644 --- a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/support/ResourceSupport.java +++ b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/support/ResourceSupport.java @@ -1,22 +1,22 @@ -/******************************************************************************* - * 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.impl.support; - -import org.simantics.db.exception.DatabaseException; - -/* - * This interface supports the implementation of ResourceImpl - */ -public interface ResourceSupport { - long getRandomAccessId(int id); - long getRandomAccessIdChecked(int id) throws DatabaseException; -} +/******************************************************************************* + * 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.impl.support; + +import org.simantics.db.exception.DatabaseException; + +/* + * This interface supports the implementation of ResourceImpl + */ +public interface ResourceSupport { + long getRandomAccessId(int id); + long getRandomAccessIdChecked(int id) throws DatabaseException; +}