X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.objmap2%2Fsrc%2Forg%2Fsimantics%2Fobjmap%2Fgraph%2Frules%2Fdomain%2FIDomainAccessor.java;h=05d1eed782aba7f292819c4e5cfdf23403c4c8cb;hb=240fea4f9c0aa8dba1e1af496aebb4157740fa20;hp=d1a12e69070d4447420b2567124813e83b48c8e4;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.objmap2/src/org/simantics/objmap/graph/rules/domain/IDomainAccessor.java b/bundles/org.simantics.objmap2/src/org/simantics/objmap/graph/rules/domain/IDomainAccessor.java index d1a12e690..05d1eed78 100644 --- a/bundles/org.simantics.objmap2/src/org/simantics/objmap/graph/rules/domain/IDomainAccessor.java +++ b/bundles/org.simantics.objmap2/src/org/simantics/objmap/graph/rules/domain/IDomainAccessor.java @@ -1,26 +1,26 @@ -/******************************************************************************* - * Copyright (c) 2007, 2013 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.objmap.graph.rules.domain; - -import org.simantics.db.ReadGraph; -import org.simantics.db.WriteGraph; -import org.simantics.objmap.exceptions.MappingException; - - -/** - * Provides access to some property of domain elements. - * @author Hannu Niemistö - */ -public interface IDomainAccessor { - T get(ReadGraph g, Domain element) throws MappingException; - boolean set(WriteGraph g, Domain element, T value) throws MappingException; -} +/******************************************************************************* + * Copyright (c) 2007, 2013 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.objmap.graph.rules.domain; + +import org.simantics.db.ReadGraph; +import org.simantics.db.WriteGraph; +import org.simantics.objmap.exceptions.MappingException; + + +/** + * Provides access to some property of domain elements. + * @author Hannu Niemistö + */ +public interface IDomainAccessor { + T get(ReadGraph g, Domain element) throws MappingException; + boolean set(WriteGraph g, Domain element, T value) throws MappingException; +}