org.favabeans.base
Interface Prototype

All Superinterfaces:
Facet
All Known Implementing Classes:
DefaultPrototype

public interface Prototype
extends Facet

The Prototype Facet of an object provides behaviors for "cloning" the object, under end-user control, to create a new, similar object.


Method Summary
 Object clonePrimaryObject()
          Create a new copy of the primary object.
 
Methods inherited from interface org.favabeans.base.Facet
getPrimaryObject
 

Method Detail

clonePrimaryObject

public Object clonePrimaryObject()
                          throws FactoryException
Create a new copy of the primary object.
Returns:
the newly created object.
Throws:
FactoryException - if the operation fails.


Copyright © 2000-2001, Regents of the University of Minnesota. All Rights Reserved.