/** * {@inheritDoc} */ @Override public ObjectReader createObjectReader(StoreReader storeReader, StoreClassRegister storeClassRegister) { return new GenericObjectReader(storeReader, storeClassRegister); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ @SuppressWarnings("unchecked") public DbFeatureHistory(StoreReader sr, StoreClassRegister scr) { feature = (T) new GenericObjectReader(sr, scr).readObject(); version = sr.readInteger(); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ @SuppressWarnings("unchecked") public EntityHistory(StoreReader sr, StoreClassRegister scr) { entity = (T) new GenericObjectReader(sr, scr).readObject(); visible = sr.readBoolean(); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ @SuppressWarnings("unchecked") public EntityHistory(StoreReader sr, StoreClassRegister scr) { entity = (T) new GenericObjectReader(sr, scr).readObject(); visible = sr.readBoolean(); }
/** * {@inheritDoc} */ @Override public ObjectReader createObjectReader(StoreReader storeReader, StoreClassRegister storeClassRegister) { return new GenericObjectReader(storeReader, storeClassRegister); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ @SuppressWarnings("unchecked") public DbFeatureHistory(StoreReader sr, StoreClassRegister scr) { feature = (T) new GenericObjectReader(sr, scr).readObject(); version = sr.readInteger(); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ @SuppressWarnings("unchecked") public DbFeature(StoreReader sr, StoreClassRegister scr) { this( sr.readLong(), (T) new GenericObjectReader(sr, scr).readObject() ); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ @SuppressWarnings("unchecked") public DbFeature(StoreReader sr, StoreClassRegister scr) { this( sr.readLong(), (T) new GenericObjectReader(sr, scr).readObject() ); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ public ChangeContainer(StoreReader sr, StoreClassRegister scr) { entityContainer = (EntityContainer) new GenericObjectReader(sr, scr).readObject(); action = ChangeAction.valueOf(sr.readString()); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ public ChangeContainer(StoreReader sr, StoreClassRegister scr) { entityContainer = (EntityContainer) new GenericObjectReader(sr, scr).readObject(); action = ChangeAction.valueOf(sr.readString()); }