|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@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
| 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 |
|---|
public abstract String value
DynamicProperty
for.
public abstract PropertyMode mode
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).
public abstract PropertyUse use
PropertyUse.Option if there are any matching StaticGetMethod or StaticSetMethod annotations.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||