org.oddjob.arooa.deploy
Class PropertyDefinition

java.lang.Object
  extended by org.oddjob.arooa.deploy.PropertyDefinition

public class PropertyDefinition
extends Object

Description

Provide a definition for a property within an BeanDefinition.

Providing property definitions within a BeanDefinition is an alternative to using annotations in the Java code or providing an ArooaBeanDescriptor Arooa class file.

Author:
rob

Nested Class Summary
static class PropertyDefinition.PropertyType
           
 
Constructor Summary
PropertyDefinition()
          No Arg Constructor.
PropertyDefinition(String name, PropertyDefinition.PropertyType type)
          Constructor when used from code.
 
Method Summary
 String getFlavour()
           
 String getName()
           
 PropertyDefinition.PropertyType getType()
           
 boolean isAuto()
           
 void setAuto(boolean auto)
           
 void setFlavour(String flavour)
           
 void setName(String name)
           
 void setType(PropertyDefinition.PropertyType type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyDefinition

public PropertyDefinition()
No Arg Constructor.


PropertyDefinition

public PropertyDefinition(String name,
                          PropertyDefinition.PropertyType type)
Constructor when used from code.

Parameters:
name -
type -
Method Detail

setName

public void setName(String name)

getName

public String getName()

setType

public void setType(PropertyDefinition.PropertyType type)

getType

public PropertyDefinition.PropertyType getType()

toString

public String toString()
Overrides:
toString in class Object

getFlavour

public String getFlavour()

setFlavour

public void setFlavour(String flavour)

isAuto

public boolean isAuto()

setAuto

public void setAuto(boolean auto)