rcf.core.framework.component
Annotation Type StaticPropertyMethod


@Revision(value="$Revision: 1.1 $",
          date="$Date: 2006/12/06 16:45:11 $",
          tag="$Name:  $")
@Retention(value=RUNTIME)
@Target(value=METHOD)
@Documented
public @interface StaticPropertyMethod

TODO: Javadoc Indicates that a method will return a DynamicProperty representing the named property. It is an RCF Framework error to annotate a method which does not return an instance of DynamicProperty, with this annotation. It is also an error for this method to return a DynamicProperty dp such that dp.name().equals(annotation.value()) != true.

TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString

Version:
$Revision: 1.1 $
Author:
Greg Gibeling

Required Element Summary
 String value
          TODO: Javadoc The name of the property this method will return a DynamicProperty for.
 
Optional Element Summary
 PropertyMode mode
          TODO: Javadoc Determine if this property is readable, writeable, neither or both.
 PropertyUse use
          TODO: Javadoc The use of this property.
 

Element Detail

value

public abstract String value
TODO: Javadoc The name of the property this method will return a DynamicProperty for.

mode

public abstract PropertyMode mode
TODO: Javadoc Determine if this property is readable, writeable, neither or both. Notice that the existence of a StaticGetMethod or StaticSetMethod annotated method may override the value specified here. It is an error to specify that a final field is writeable, and it is a warning to specify that e.g. a field is not readable when it has a StaticGetMethod method (or not writeable with a StaticSetMethod method).

Default:
Both

use

public abstract PropertyUse use
TODO: Javadoc The use of this property. Must be PropertyUse.Option if there are any matching StaticGetMethod or StaticSetMethod annotations.

Default:
Data