예제 #1
0
  public void configure(org.revenj.patterns.ServiceLocator locator) {

    gen.model.mixinReference.Resident.__configureConverter(readers, __index___id, __index___birth);

    gen.model.mixinReference.Resident.__configureConverterExtended(
        readersExtended, __index__extended_id, __index__extended_birth);
  }
예제 #2
0
  @Override
  public PostgresTuple to(gen.model.mixinReference.Resident instance) {
    if (instance == null) return null;
    PostgresTuple[] items = new PostgresTuple[columnCount];

    items[__index___id] = org.revenj.postgres.converters.UuidConverter.toTuple(instance.getId());
    items[__index___birth] =
        org.revenj.postgres.converters.DateConverter.toTuple(instance.getBirth());
    return RecordTuple.from(items);
  }
예제 #3
0
 public static String buildURI(
     org.revenj.postgres.PostgresBuffer _sw, gen.model.mixinReference.Resident instance)
     throws java.io.IOException {
   _sw.initBuffer();
   String _tmp;
   org.revenj.postgres.converters.UuidConverter.serializeURI(_sw, instance.getId());
   return _sw.bufferToString();
 }