com.abra.j2xb.annotations
Annotation Type MOInitializerProperty


@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface MOInitializerProperty

Defines property initialization of a constructed instance, where the source of the property value is a property of the parent instance. The value assignment is done right after the instance is created and before reading any other value from the XML document. See the examples of MOConstructionDescriptor.

Since:
JDK1.5
Version:
1.0, May 1, 2008
Author:
Yoav Abrahami
See Also:
MOConstructionDescriptor

Required Element Summary
 java.lang.String sourceProperty
          The name of the Java property of the parent class, to be used as the source of the value.
 java.lang.String targetProperty
          The name of the Java property of the constructed bean, to which the value is assigned.
 

Element Detail

sourceProperty

public abstract java.lang.String sourceProperty
The name of the Java property of the parent class, to be used as the source of the value.


targetProperty

public abstract java.lang.String targetProperty
The name of the Java property of the constructed bean, to which the value is assigned.



Copyright © 2008. All Rights Reserved.