X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.layer0%2Fsrc%2Forg%2Fsimantics%2Fdb%2Flayer0%2Fvariable%2FValueAccessor.java;h=a87cdb7592ea4e0db8dea88e73ec89158a6a31ac;hb=035118aa5f35c9e5acd1f34d22065055dfdee486;hp=21365e85f8a782b2823c47cc725f1a83866c904a;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/ValueAccessor.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/ValueAccessor.java index 21365e85f..a87cdb759 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/ValueAccessor.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/ValueAccessor.java @@ -1,15 +1,15 @@ -package org.simantics.db.layer0.variable; - -import org.simantics.databoard.binding.Binding; -import org.simantics.databoard.type.Datatype; -import org.simantics.db.ReadGraph; -import org.simantics.db.WriteGraph; -import org.simantics.db.exception.DatabaseException; - -public interface ValueAccessor { - Object getValue(ReadGraph graph, Variable context) throws DatabaseException; - Object getValue(ReadGraph graph, Variable context, Binding binding) throws DatabaseException; - void setValue(WriteGraph graph, Variable context, Object value) throws DatabaseException; - void setValue(WriteGraph graph, Variable context, Object value, Binding binding) throws DatabaseException; - Datatype getDatatype(ReadGraph graph, Variable context) throws DatabaseException; -} +package org.simantics.db.layer0.variable; + +import org.simantics.databoard.binding.Binding; +import org.simantics.databoard.type.Datatype; +import org.simantics.db.ReadGraph; +import org.simantics.db.WriteGraph; +import org.simantics.db.exception.DatabaseException; + +public interface ValueAccessor { + Object getValue(ReadGraph graph, Variable context) throws DatabaseException; + Object getValue(ReadGraph graph, Variable context, Binding binding) throws DatabaseException; + void setValue(WriteGraph graph, Variable context, Object value) throws DatabaseException; + void setValue(WriteGraph graph, Variable context, Object value, Binding binding) throws DatabaseException; + Datatype getDatatype(ReadGraph graph, Variable context) throws DatabaseException; +}