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


@Retention(value=RUNTIME)
@Target(value={})
@Documented
public @interface Datalink

Declares a data link for the element.

Since:
1.5
Version:
$Revision: 3634 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)

Optional Element Summary
 Class destClass
          The Java class of the destination element for this data link.
 String destClassIdPrefix
          The prefix that will be added to the destClass ID.
 String destId
          The ID of the destination element for this data link.
 String destInbean
          The name of the target element's destination inbean.
 String destInput
          The name of the target element's destination input.
 boolean snapback
          Indicates whether this data link is a snapback.
 String srcOutbean
          The name of this element's outbean.
 String srcOutput
          The name of this element's source output.
 

srcOutput

public abstract String srcOutput
The name of this element's source output.

Since:
1.5
Default:
""

srcOutbean

public abstract String srcOutbean
The name of this element's outbean.

Since:
1.5
Default:
""

destId

public abstract String destId
The ID of the destination element for this data link.

If destClass is provided, it will override the destId value.

Since:
1.5
See Also:
destClass()
Default:
""

destClass

public abstract Class destClass
The Java class of the destination element for this data link. This class should at least have an Elem annotation.

If destClass is provided, it will override the destId value.

The ID will be evaluated locally to the current subsite. If you have to refer to an ID in another subsite, you have to use the destClassIdPrefix().

Since:
1.5
See Also:
destId(), destClassIdPrefix()
Default:
void.class

destClassIdPrefix

public abstract String destClassIdPrefix
The prefix that will be added to the destClass ID.

This makes it possible to refer to an ID in another subsite. Note that this prefix is not validated individually, it is merely added as a string to build the final ID that will be used.

Since:
1.5
See Also:
destClass()
Default:
""

snapback

public abstract boolean snapback
Indicates whether this data link is a snapback.

Since:
1.5
Default:
false

destInput

public abstract String destInput
The name of the target element's destination input.

Since:
1.5
Default:
""

destInbean

public abstract String destInbean
The name of the target element's destination inbean.

Since:
1.5
Default:
""


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