|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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
.
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 |
---|
public abstract java.lang.String sourceProperty
public abstract SourcePropertyOf sourcePropertyOf
SourcePropertyOf.parent
- the property belongs to the parent bean constructing this instance.
SourcePropertyOf.constructedInstance
- the property belongs to the constructed instance
(mapped property of the constructed instance).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |