85 words

javax.jdo.spi.JDOImplHelper.StringConstructor - JDO interface

javax.jdo.spi
Interface JDOImplHelper.StringConstructor

Construct an instance of a key class using a String as input. This is a helper interface for use with ObjectIdentity. Classes without a String constructor (such as those in java.lang and java.util) will use this interface for constructing new instances. The result might be a singleton or use some other strategy.
Since:
JDO 1.0
Object construct(String s)
Construct an instance of the class for which this instance is registered.
Construct an instance of the class for which this instance is registered.
Parameters:
s - the parameter for construction
Returns:
the constructed object
Since:
JDO 1.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.