Skip to content

Commit 6417ff1

Browse files
committed
allow more direct access
1 parent 0bd5882 commit 6417ff1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

common-tools/clas-detector/src/main/java/org/jlab/detector/calib/utils/DatabaseConstantProvider.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import org.jlab.ccdb.CCDB;
1616
import javax.swing.JFrame;
1717
import org.jlab.ccdb.Assignment;
18+
import org.jlab.ccdb.TypeTable;
1819

1920
import org.jlab.ccdb.TypeTableColumn;
2021
import org.rcdb.RCDB;
@@ -92,6 +93,14 @@ public Set<String> getEntrySet(){
9293
}
9394
return entries;
9495
}
96+
97+
public Assignment getAssignment(String table) {
98+
return provider.getData(table);
99+
}
100+
101+
public TypeTable getTypeTable(String table) {
102+
return provider.getTypeTable(table);
103+
}
95104

96105
private String getEnvironment(){
97106

0 commit comments

Comments
 (0)