org.trails.descriptor.annotation
Annotation Type Collection


@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface Collection


Optional Element Summary
 boolean child
          Child collections will not allow you to choose from all possible instances of the element type, only to create new instances and remove instances from the collection.
 java.lang.String inverse
          The field in the other end of the realtionship.
 

inverse

public abstract java.lang.String inverse
The field in the other end of the realtionship. Required for @OneToMany @Collection(child=false)

Returns:
Default:
""

child

public abstract boolean child
Child collections will not allow you to choose from all possible instances of the element type, only to create new instances and remove instances from the collection.

Returns:
Default:
false


Copyright © 2004-2007. All Rights Reserved.