public gen.model.mixinReference.Resident fromExtended(PostgresReader reader, int context) throws java.io.IOException { int cur = reader.read(); if (cur == ',' || cur == ')') return null; gen.model.mixinReference.Resident instance = from(reader, context, context == 0 ? 1 : context << 1, readersExtended); reader.read(); return instance; }
public gen.model.test.Detail2 fromExtended(PostgresReader reader, int context) throws java.io.IOException { int cur = reader.read(); if (cur == ',' || cur == ')') return null; gen.model.test.Detail2 instance = from(reader, context, context == 0 ? 1 : context << 1, readersExtended); reader.read(); return instance; }
private gen.model.test.Detail2 from( PostgresReader reader, int outerContext, int context, ObjectConverter.Reader<gen.model.test.Detail2>[] readers) throws java.io.IOException { reader.read(outerContext); gen.model.test.Detail2 instance = new gen.model.test.Detail2(reader, context, readers); reader.read(outerContext); return instance; }
private gen.model.mixinReference.Resident from( PostgresReader reader, int outerContext, int context, ObjectConverter.Reader<gen.model.mixinReference.Resident>[] readers) throws java.io.IOException { reader.read(outerContext); gen.model.mixinReference.Resident instance = new gen.model.mixinReference.Resident(reader, context, readers); reader.read(outerContext); return instance; }
private java.util.List<gen.model.test.Clicked> readFromDb( java.sql.PreparedStatement statement, java.util.List<gen.model.test.Clicked> result) throws java.sql.SQLException, java.io.IOException { try (java.sql.ResultSet rs = statement.executeQuery(); org.revenj.postgres.PostgresReader reader = org.revenj.postgres.PostgresReader.create(locator)) { while (rs.next()) { reader.process(rs.getString(1)); result.add(converter.from(reader)); } } return result; }
public Child( org.revenj.postgres.PostgresReader reader, int context, org.revenj.postgres.ObjectConverter.Reader<Child>[] readers) throws java.io.IOException { this.__locator = reader.getLocator(); for (org.revenj.postgres.ObjectConverter.Reader<Child> rdr : readers) { rdr.read(this, reader, context); } URI = gen.model.mixinReference.converters.ChildConverter.buildURI(reader, this); }
public Analysis( org.revenj.postgres.PostgresReader reader, int context, org.revenj.postgres.ObjectConverter.Reader<Analysis>[] readers) throws java.io.IOException { this.__locator = reader.getLocator(); for (org.revenj.postgres.ObjectConverter.Reader<Analysis> rdr : readers) { rdr.read(this, reader, context); } URI = gen.model.stock.converters.AnalysisConverter.buildURI(reader, this); this.__originalValue = (Analysis) this.clone(); }