Example #1
0
  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;
        };
  }
Example #2
0
  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;
        };
  }
Example #3
0
  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;
        };
  }