net.sf.ezmorph.bean
Class MorphDynaClass

java.lang.Object
  extended by net.sf.ezmorph.bean.MorphDynaClass
All Implemented Interfaces:
Serializable, DynaClass

public final class MorphDynaClass
extends Object
implements DynaClass, Serializable

Author:
Andres Almiray
See Also:
Serialized Form

Constructor Summary
MorphDynaClass(Map attributes)
           
MorphDynaClass(Map attributes, boolean exceptionOnEmptyAttributes)
           
MorphDynaClass(String name, Class type, Map attributes)
           
MorphDynaClass(String name, Class type, Map attributes, boolean exceptionOnEmptyAttributes)
           
 
Method Summary
 boolean equals(Object obj)
           
protected  Class getBeanClass()
           
 DynaProperty[] getDynaProperties()
           
 DynaProperty getDynaProperty(String propertyName)
           
 String getName()
           
 int hashCode()
           
 DynaBean newInstance()
           
 DynaBean newInstance(MorpherRegistry morpherRegistry)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MorphDynaClass

public MorphDynaClass(Map attributes)

MorphDynaClass

public MorphDynaClass(Map attributes,
                      boolean exceptionOnEmptyAttributes)

MorphDynaClass

public MorphDynaClass(String name,
                      Class type,
                      Map attributes)

MorphDynaClass

public MorphDynaClass(String name,
                      Class type,
                      Map attributes,
                      boolean exceptionOnEmptyAttributes)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getDynaProperties

public DynaProperty[] getDynaProperties()
Specified by:
getDynaProperties in interface DynaClass

getDynaProperty

public DynaProperty getDynaProperty(String propertyName)
Specified by:
getDynaProperty in interface DynaClass

getName

public String getName()
Specified by:
getName in interface DynaClass

hashCode

public int hashCode()
Overrides:
hashCode in class Object

newInstance

public DynaBean newInstance()
                     throws IllegalAccessException,
                            InstantiationException
Specified by:
newInstance in interface DynaClass
Throws:
IllegalAccessException
InstantiationException

newInstance

public DynaBean newInstance(MorpherRegistry morpherRegistry)
                     throws IllegalAccessException,
                            InstantiationException
Throws:
IllegalAccessException
InstantiationException

toString

public String toString()
Overrides:
toString in class Object

getBeanClass

protected Class getBeanClass()


Copyright © 2006-2008. All Rights Reserved.