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

Object
  extended by ControlProperty
Direct Known Subclasses:
AptProperty

public abstract class ControlProperty
extends Object

The ControlProperty class is an abstract base class that represents an Event declared within an EventSet interface of a ControlBean type.


Constructor Summary
protected ControlProperty(ControlPropertySet propertySet)
          Base constructor, protected so only a custom subclass can invoke
 
Method Summary
abstract  FeatureInfo getFeatureInfo()
          Returns any FeatureInfo associated with the property (or null if none)
 String getKeyName()
          Returns the static final field name containing the key for this Property
abstract  String getMemberName()
          Returns the member name associated with this Property in the PropertySet
 String getName()
          Returns the base property name.
abstract  PropertyInfo getPropertyInfo()
          Returns any PropertyInfo associated with the property (or null if none)
 ControlPropertySet getPropertySet()
          Returns the ControlPropertySet associated with the ControlPropertySet
abstract  String getType()
          Returns the type of the Property
protected  void init()
          Initializes the ControlProperty instance.
abstract  boolean isAnnotation()
          Returns true if the property is an annotation type, false otherwise
 boolean needsCustomPropertyDescriptor()
          Returns true if the property needs a custom-generated PropertyDescriptor, false otherwise
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlProperty

protected ControlProperty(ControlPropertySet propertySet)
Base constructor, protected so only a custom subclass can invoke

Method Detail

init

protected void init()
Initializes the ControlProperty instance. This will be called by custom subclasses to drive the initialization process.


getPropertySet

public ControlPropertySet getPropertySet()
Returns the ControlPropertySet associated with the ControlPropertySet


getMemberName

public abstract String getMemberName()
Returns the member name associated with this Property in the PropertySet


getName

public String getName()
Returns the base property name. The associated accessor methods will have the form set{name} and get{name}


getKeyName

public String getKeyName()
Returns the static final field name containing the key for this Property


getType

public abstract String getType()
Returns the type of the Property


isAnnotation

public abstract boolean isAnnotation()
Returns true if the property is an annotation type, false otherwise


getPropertyInfo

public abstract PropertyInfo getPropertyInfo()
Returns any PropertyInfo associated with the property (or null if none)


getFeatureInfo

public abstract FeatureInfo getFeatureInfo()
Returns any FeatureInfo associated with the property (or null if none)


needsCustomPropertyDescriptor

public boolean needsCustomPropertyDescriptor()
Returns true if the property needs a custom-generated PropertyDescriptor, false otherwise