@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD,ANNOTATION_TYPE})
@Documented
public @interface Relation
Modifier and Type | Required Element and Description |
---|---|
Relation.Kind |
value |
Modifier and Type | Optional Element and Description |
---|---|
Relation.Cascade[] |
cascade
How to cascade insert/delete operations to the associated entity.
|
java.lang.String |
mappedBy |
public abstract Relation.Kind value
public abstract java.lang.String mappedBy
public abstract Relation.Cascade[] cascade