com.abra.j2xb.annotations
Annotation Type MOConstructorArg


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

Defines a contructor parameter mapping, or a parameter for a factory method. See the examples of MOConstructionDescriptor.

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

Required Element Summary
 java.lang.String sourceProperty
          The name of the Java property, to be used as the source of the value passed to the constructor or factory method.
 
Optional Element Summary
 SourcePropertyOf sourcePropertyOf
          Defines to which instance the property belongs too.
 

Element Detail

sourceProperty

public abstract java.lang.String sourceProperty
The name of the Java property, to be used as the source of the value passed to the constructor or factory method.

sourcePropertyOf

public abstract SourcePropertyOf sourcePropertyOf
Defines to which instance the property belongs too.

Default:
constructedInstance


Copyright © 2008. All Rights Reserved.