public static void __configureConverterExtended( org.revenj.postgres.ObjectConverter.Reader<Analysis>[] readers, int __index__extended_projectID, int __index__extended_articleID, int __index__extended_abc, int __index__extended_xyz, int __index__extended_clazz) { readers[__index__extended_projectID] = (item, reader, context) -> { item.projectID = org.revenj.postgres.converters.IntConverter.parse(reader); return item; }; readers[__index__extended_articleID] = (item, reader, context) -> { item.articleID = org.revenj.postgres.converters.IntConverter.parse(reader); return item; }; readers[__index__extended_abc] = (item, reader, context) -> { item.abc = org.revenj.postgres.converters.StringConverter.parse(reader, context, true); return item; }; readers[__index__extended_xyz] = (item, reader, context) -> { item.xyz = org.revenj.postgres.converters.StringConverter.parse(reader, context, true); return item; }; readers[__index__extended_clazz] = (item, reader, context) -> { item.clazz = org.revenj.postgres.converters.StringConverter.parse(reader, context, true); return item; }; }
public static String buildURI( org.revenj.postgres.PostgresBuffer _sw, gen.model.test.Detail2 instance) throws java.io.IOException { _sw.initBuffer(); String _tmp; org.revenj.postgres.converters.UuidConverter.serializeURI(_sw, instance.getEntityCompositeid()); _sw.addToBuffer('/'); org.revenj.postgres.converters.IntConverter.serializeURI(_sw, instance.getEntityIndex()); _sw.addToBuffer('/'); org.revenj.postgres.converters.IntConverter.serializeURI(_sw, instance.getIndex()); return _sw.bufferToString(); }
public PostgresTuple toExtended(gen.model.test.Detail2 instance) { if (instance == null) return null; PostgresTuple[] items = new PostgresTuple[columnCountExtended]; items[__index__extended_u] = org.revenj.postgres.converters.UrlConverter.toTuple(instance.getU()); items[__index__extended_dd] = org.revenj.postgres.converters.ArrayTuple.create( instance.getDd(), org.revenj.postgres.converters.DoubleConverter::toTuple); items[__index__extended_EntityCompositeid] = org.revenj.postgres.converters.UuidConverter.toTuple(instance.getEntityCompositeid()); items[__index__extended_EntityIndex] = org.revenj.postgres.converters.IntConverter.toTuple(instance.getEntityIndex()); items[__index__extended_Index] = org.revenj.postgres.converters.IntConverter.toTuple(instance.getIndex()); return RecordTuple.from(items); }
public static void __configureConverterExtended( org.revenj.postgres.ObjectConverter.Reader<Child>[] readers, int __index__extended_version, int __index__extended_AuthorID, int __index__extended_Index) { readers[__index__extended_version] = (item, reader, context) -> { item.version = org.revenj.postgres.converters.LongConverter.parse(reader); return item; }; readers[__index__extended_AuthorID] = (item, reader, context) -> { item.AuthorID = org.revenj.postgres.converters.IntConverter.parse(reader); return item; }; readers[__index__extended_Index] = (item, reader, context) -> { item.Index = org.revenj.postgres.converters.IntConverter.parse(reader); return item; }; }
public static void __configureConverterExtended( org.revenj.postgres.ObjectConverter.Reader<Person>[] readers, int __index__extended_birth, int __index__extended_dayOfBirth, int __index__extended_bornOnEvenDay, int __index__extended_AuthorID) { readers[__index__extended_birth] = (item, reader, context) -> { item.birth = org.revenj.postgres.converters.DateConverter.parse(reader, false); return item; }; readers[__index__extended_AuthorID] = (item, reader, context) -> { item.AuthorID = org.revenj.postgres.converters.IntConverter.parse(reader); return item; }; }