Class InstantiationCopyPolicy

  • All Implemented Interfaces:
    java.io.Serializable, 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()
        Overrides:
        toString in class java.lang.Object