ObjectDB ObjectDB

newInstance(pcClass) - JDO PersistenceManager's method

Method
javax.jdo.PersistenceManager
T newInstance(
  Class<T> pcClass
)

Creates an instance of a persistence-capable interface, or of a concrete or abstract class. The returned instance is transient.
Parameters:
pcClass - Must be a persistence-capable interface, or a concrete or abstract class that is declared in the metadata.
Returns:
the created instance
Since:
JDO 2.0