FileDocCategorySizeDatePackage
InstantiationCopyPolicy.javaAPI DocGlassfish v2 API2681Tue May 22 16:54:18 BST 2007oracle.toplink.essentials.descriptors.copying

InstantiationCopyPolicy

public class InstantiationCopyPolicy extends AbstractCopyPolicy

Purpose: Creates a copy through creating a new instance.

Fields Summary
Constructors Summary
public InstantiationCopyPolicy()

        super();
    
Methods Summary
public java.lang.ObjectbuildClone(java.lang.Object domainObject, oracle.toplink.essentials.sessions.Session session)

        return getDescriptor().getObjectBuilder().buildNewInstance();
    
public booleanbuildsNewInstance()

        return true;
    
public java.lang.StringtoString()

        return Helper.getShortClassName(this) + "()";