use of eu.esdihumboldt.hale.common.instance.orient.storage.OrientInstanceReference in project hale by halestudio.
the class OrientInstanceService method getInstance.
/**
* @see InstanceService#getInstance(InstanceReference)
*/
@Override
public Instance getInstance(InstanceReference reference) {
OrientInstanceReference ref = (OrientInstanceReference) reference;
LocalOrientDB lodb = (ref.getDataSet().equals(DataSet.SOURCE)) ? (source) : (transformed);
return ref.load(lodb, this);
}
Aggregations