01/* Copyright (C) 2004 - 2007 db4objects Inc. http://www.db4o.com */ 02
03
package com.db4odoc.constructors; 04
05
class C1 { 06
private String s; 07
08
private C1(String s) { 09
this.s=s; 10
} 11
12
public String toString() { 13
return s; 14
} 15
}
This class cannot be cleanly reinstantiated by db4o: both approaches will fail, so one has to resort to configuring a translator.