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 getAnnotation()
           
 Boolean getAuto()
           
 String getFlavour()
           
 String getName()
           
 PropertyDefinition.PropertyType getType()
           
 void setAnnotation(String annotation)
           
 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)

getAuto

public Boolean getAuto()

setAuto

public void setAuto(Boolean auto)

getAnnotation

public String getAnnotation()

setAnnotation

public void setAnnotation(String annotation)