1 package org.simantics.databoard.adapter;
4 public abstract class AbstractAdapter implements Adapter {
6 /** True if this adapter has to make type conversion (incl. sub-adapters) */
7 boolean typeAdapter = false;
8 /** True if the adapter clones or creates a new instance (incl. all sub-adapters) */
12 * A back-reference to the adapter request for keeping adapters that are currently used
13 * from being unnecessarily purged from the cache.
15 AdapterRequest request;
17 public Object adaptUnchecked(Object obj) throws RuntimeAdaptException {
20 } catch (AdaptException e) {
21 throw new RuntimeAdaptException( e );
25 public void finalizeConstruction() {}