com.uwyn.rife.engine.annotations
Annotation Type OutCookieProperty


@Retention(value=RUNTIME)
@Target(value=METHOD)
@Documented
public @interface OutCookieProperty

Declares that the bean property that corresponds to the annotated getter will be used as an outcookie. The name of the outcookie will be the name of the property.

When an element is processed, the outcookie will be outjected from element through the getter. An OutcookieOutjectionException exception will be thrown if the outjection failed.

Since:
1.5
Version:
$Revision: 3687 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)
See Also:
InCookie

Optional Element Summary
 String defaultValue
          The default value of the outcookie.
 String name
          The expected name of the property.
 

name

public abstract String name
The expected name of the property.

This hasn't got any influence on the actual name that is being used for the property, but is used instead to ensure that the property name is the same as the one specified here. This is typically used to create a single point of declaration for the property name that can be referenced elsewhere and that is ensured to be correct.

Since:
1.6
Default:
""

defaultValue

public abstract String defaultValue
The default value of the outcookie.

Since:
1.5
Default:
""


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.