org.apache.beehive.controls.runtime.generator.apt
Class AptProperty

Object
  extended by ControlProperty
      extended by AptProperty

public class AptProperty
extends ControlProperty

The AptProperty class represents a control Property where the property attributes are derived using APT metadata


Constructor Summary
AptProperty(AptPropertySet propertySet, AnnotationTypeElementDeclaration propDecl, AnnotationProcessorEnvironment env)
          Constructs a new AptProperty instance from APT metadata
 
Method Summary
 FeatureInfo getFeatureInfo()
          Returns any FeatureInfo associated with the property (or null if none)
 String getMemberName()
          Returns the member name associated with this Property in the PropertySet
 PropertyInfo getPropertyInfo()
          Returns any PropertyInfo associated with the property (or null if none)
 String getType()
          Returns the type of the Property
 boolean isAnnotation()
          Returns true if the property is an annotation type, false otherwise
 
Methods inherited from class ControlProperty
getKeyName, getName, getPropertySet, init, needsCustomPropertyDescriptor
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptProperty

public AptProperty(AptPropertySet propertySet,
                   AnnotationTypeElementDeclaration propDecl,
                   AnnotationProcessorEnvironment env)
Constructs a new AptProperty instance from APT metadata

Parameters:
propertySet - the declaring PropertySet
propDecl - the declration of the property annotation type element
Method Detail

getMemberName

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

Specified by:
getMemberName in class ControlProperty

getType

public String getType()
Returns the type of the Property

Specified by:
getType in class ControlProperty

isAnnotation

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

Specified by:
isAnnotation in class ControlProperty

getPropertyInfo

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

Specified by:
getPropertyInfo in class ControlProperty

getFeatureInfo

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

Specified by:
getFeatureInfo in class ControlProperty