]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/VariableRVIRequest.java
Merge "Allow loading databoard serialized files with type adapting" into release...
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / request / VariableRVIRequest.java
1 package org.simantics.db.layer0.request;
2
3 import org.simantics.db.ReadGraph;
4 import org.simantics.db.exception.DatabaseException;
5 import org.simantics.db.layer0.variable.RVI;
6 import org.simantics.db.layer0.variable.Variable;
7
8 public class VariableRVIRequest extends VariableRead<RVI> {
9         
10         public VariableRVIRequest(Variable variable) {
11                 super(variable);
12         }
13
14         @Override
15         public RVI perform(ReadGraph graph) throws DatabaseException {
16                 return variable.getRVI(graph);
17         }
18
19 }