ObjectDB ObjectDB

construct(className, keyString) - JDO JDOImplHelper's static method

Static Method
Object construct(
  String className,
  String keyString

Construct an instance of the parameter class, using the keyString as an argument to the constructor. If the class has a StringConstructor instance registered, use it. If not, try to find a constructor for the class with a single String argument. Otherwise, throw a JDOUserException.
className - the name of the class
keyString - the String parameter for the constructor
the result of construction
JDO 1.0