ObjectDB ObjectDB

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

Static Method
javax.jdo.spi.JDOImplHelper
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.
Parameters:
className - the name of the class
keyString - the String parameter for the constructor
Returns:
the result of construction
Since:
JDO 1.0