org.oddjob.arooa.beanutils
Class MagicBeanClassCreator

java.lang.Object
  extended by org.oddjob.arooa.beanutils.MagicBeanClassCreator

public class MagicBeanClassCreator
extends Object

Creates new Magic Bean ArooaClass.

Author:
rob

Constructor Summary
MagicBeanClassCreator(String name)
          Create an instance of the creator with the given class name.
 
Method Summary
 void addProperty(String name, Class<?> type)
          Add a property.
 ArooaClass create()
          Create an ArooaClass.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MagicBeanClassCreator

public MagicBeanClassCreator(String name)
Create an instance of the creator with the given class name.

Parameters:
name - The name.
Method Detail

addProperty

public void addProperty(String name,
                        Class<?> type)
Add a property.

Parameters:
name - The name of the property.
type - The type of the property.

create

public ArooaClass create()
Create an ArooaClass.

Returns: