org.chromattic.api.annotations
Annotation Type OneToMany


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

Defines the one side in a one to many relationship.

Version:
$Revision$
Author:
Julien Viet
See Also:
RelationshipType, ManyToOne

Optional Element Summary
 RelationshipType type
          The type of the relationship.
 

type

public abstract RelationshipType type
The type of the relationship.

Returns:
the relationship type
Default:
org.chromattic.api.RelationshipType.HIERARCHIC


Copyright © 2014 eXo Platform SAS. All Rights Reserved.