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