org.favabeans.base
Class DefaultPrototype

java.lang.Object
  |
  +--org.favabeans.base.DefaultFacet
        |
        +--org.favabeans.base.DefaultPrototype
All Implemented Interfaces:
Facet, Faceted, Prototype

public class DefaultPrototype
extends DefaultFacet
implements Prototype


Constructor Summary
DefaultPrototype(Object primaryObject)
           
 
Method Summary
 Object clonePrimaryObject()
          Create a new copy of the primary object.
 
Methods inherited from class org.favabeans.base.DefaultFacet
finalize, getFacet, getPrimaryObject
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.favabeans.base.Facet
getPrimaryObject
 

Constructor Detail

DefaultPrototype

public DefaultPrototype(Object primaryObject)
Method Detail

clonePrimaryObject

public Object clonePrimaryObject()
                          throws FactoryException
Description copied from interface: Prototype
Create a new copy of the primary object.
Specified by:
clonePrimaryObject in interface Prototype
Following copied from interface: org.favabeans.base.Prototype
Returns:
the newly created object.
Throws:
FactoryException - if the operation fails.


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