net.sf.ofx4j.meta
Annotation Type ChildAggregate


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface ChildAggregate

Marks a method as providing a child aggregate (or set of them to a top-level aggregate).

Author:
Ryan Heaton

Required Element Summary
 int order
          The order this child aggregate comes in its parent aggregate.
 
Optional Element Summary
 java.lang.String name
          Used to specify the name of the aggregate in its context as a child aggregate.
 boolean required
          Whether this aggregate is required.
 

Element Detail

order

public abstract int order
The order this child aggregate comes in its parent aggregate.

Returns:
The order this child aggregate comes in its parent aggregate.

name

public abstract java.lang.String name
Used to specify the name of the aggregate in its context as a child aggregate.

Returns:
Used to specify the name of the aggregate in its context as a child aggregate.
Default:
"##not_specified##"

required

public abstract boolean required
Whether this aggregate is required.

Returns:
Whether this aggregate is required.
Default:
false


Copyright © 2008. All Rights Reserved.