org.apache.beehive.controls.runtime.generator
Class AptPropertySet

Object
  extended by AptPropertySet

public class AptPropertySet
extends Object

The AptPropertySet class represents a control PropertySet where the property list is derived using APT metadata


Constructor Summary
AptPropertySet(AptControlInterface controlIntf, Declaration propertySet, AnnotationProcessorEnvironment env)
          Constructs a new AptPropertySet instance from APT metadata
 
Method Summary
 String getClassName()
          Returns the fully qualified class name of the property set
 String getPackage()
          Returns the fully qualified package name of this property set
 String getPrefix()
          Returns the property name prefix for properties in this PropertySet
 Collection<AptProperty> getProperties()
          Returns the list of ControlProperties associated with this ControlPropertySet
 String getShortName()
          Returns the unqualified classname of this property set
 boolean hasSetters()
          Returns whether or not this propertyset exposes setters
protected  ArrayList<AptProperty> initProperties()
          Initializes the list of ControlProperties associated with this ControlPropertySet
 boolean isOptional()
          Returns whether or not this propertyset exposes setters
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptPropertySet

public AptPropertySet(AptControlInterface controlIntf,
                      Declaration propertySet,
                      AnnotationProcessorEnvironment env)
Constructs a new AptPropertySet instance from APT metadata

Parameters:
controlIntf - the declaring bean interface. May be null (external property set)
propertySet - the PropertySet declaration
env - the AnnotationProcessorEnvironment
Method Detail

initProperties

protected ArrayList<AptProperty> initProperties()
Initializes the list of ControlProperties associated with this ControlPropertySet


getProperties

public Collection<AptProperty> getProperties()
Returns the list of ControlProperties associated with this ControlPropertySet


getPackage

public String getPackage()
Returns the fully qualified package name of this property set


getShortName

public String getShortName()
Returns the unqualified classname of this property set


getClassName

public String getClassName()
Returns the fully qualified class name of the property set


getPrefix

public String getPrefix()
Returns the property name prefix for properties in this PropertySet


isOptional

public boolean isOptional()
Returns whether or not this propertyset exposes setters


hasSetters

public boolean hasSetters()
Returns whether or not this propertyset exposes setters