net.sf.ezmorph.bean
Class MorphDynaBean

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

public final class MorphDynaBean
extends Object
implements DynaBean, Serializable

Author:
Andres Almiray
See Also:
Serialized Form

Constructor Summary
MorphDynaBean()
           
MorphDynaBean(MorpherRegistry morpherRegistry)
           
 
Method Summary
 boolean contains(String name, String key)
           
 boolean equals(Object obj)
           
 Object get(String name)
           
 Object get(String name, int index)
           
 Object get(String name, String key)
           
 DynaClass getDynaClass()
           
protected  DynaProperty getDynaProperty(String name)
           
 MorpherRegistry getMorpherRegistry()
           
 int hashCode()
           
protected  boolean isDynaAssignable(Class dest, Class src)
           
 void remove(String name, String key)
           
 void set(String name, int index, Object value)
           
 void set(String name, Object value)
           
 void set(String name, String key, Object value)
           
 void setDynaBeanClass(MorphDynaClass dynaClass)
           
 void setMorpherRegistry(MorpherRegistry morpherRegistry)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MorphDynaBean

public MorphDynaBean()

MorphDynaBean

public MorphDynaBean(MorpherRegistry morpherRegistry)
Method Detail

contains

public boolean contains(String name,
                        String key)
Specified by:
contains in interface DynaBean

equals

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

get

public Object get(String name)
Specified by:
get in interface DynaBean

get

public Object get(String name,
                  int index)
Specified by:
get in interface DynaBean

get

public Object get(String name,
                  String key)
Specified by:
get in interface DynaBean

getDynaClass

public DynaClass getDynaClass()
Specified by:
getDynaClass in interface DynaBean

getMorpherRegistry

public MorpherRegistry getMorpherRegistry()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

remove

public void remove(String name,
                   String key)
Specified by:
remove in interface DynaBean

set

public void set(String name,
                int index,
                Object value)
Specified by:
set in interface DynaBean

set

public void set(String name,
                Object value)
Specified by:
set in interface DynaBean

set

public void set(String name,
                String key,
                Object value)
Specified by:
set in interface DynaBean

setDynaBeanClass

public void setDynaBeanClass(MorphDynaClass dynaClass)

setMorpherRegistry

public void setMorpherRegistry(MorpherRegistry morpherRegistry)

toString

public String toString()
Overrides:
toString in class Object

getDynaProperty

protected DynaProperty getDynaProperty(String name)

isDynaAssignable

protected boolean isDynaAssignable(Class dest,
                                   Class src)


Copyright © 2006-2008. All Rights Reserved.