Class InstantiationCopyPolicy

  • All Implemented Interfaces:, java.lang.Cloneable, CopyPolicy

    public class InstantiationCopyPolicy
    extends AbstractCopyPolicy

    Purpose: This is the default copy policy. It creates a copy by creating a new instance of the object and then using the mappings specified for the object to populate the object.

    See Also:
    Serialized Form
    • Constructor Detail

      • InstantiationCopyPolicy

        public InstantiationCopyPolicy()
    • Method Detail

      • buildsNewInstance

        public boolean buildsNewInstance()
        Description copied from interface: CopyPolicy
        Return if this copy policy creates a new instance, vs a clone.
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object