org.javagen.agile.core.annotation
Annotation Type DefaultValue
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface DefaultValue
Default value annotation used to implement template pattern.
Template pattern allows a single set of objects to act as both
instance objects and templates. When used as instance objects
default values are applied by a generic default value setter using
this annotation and self-reflection. When used as templates all non-null values
are applied to target instances using the copyTo method.
- Author:
- Richard Easterling
- See Also:
DefaultValueVisitor
value
public abstract String value
- Default value.
Copyright 2006-2006-2007 Outsource Cafe Inc.. All Rights Reserved.