org.jpox.annotations
Annotation Type Join


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

Annotation for the join of a relation. Maps across to the JDO2 element "join".

Version:
$Revision: 1.6 $

Optional Element Summary
 java.lang.String column
          Name of the column in the join table.
 Column[] columns
          Detail definition of the join column(s).
 ForeignKeyAction deleteAction
          Delete action to be applied to any ForeignKey on this join.
 java.lang.String indexed
          Whether the join column is indexed.
 java.lang.String outer
          Whether to use an outer join.
 java.lang.String table
          Table to join to (used when joining to secondary tables).
 java.lang.String unique
          Whether the join column is unique
 

table

public abstract java.lang.String table
Table to join to (used when joining to secondary tables).

Default:
""

column

public abstract java.lang.String column
Name of the column in the join table.

Default:
""

indexed

public abstract java.lang.String indexed
Whether the join column is indexed.

Default:
""

unique

public abstract java.lang.String unique
Whether the join column is unique

Default:
""

outer

public abstract java.lang.String outer
Whether to use an outer join.

Default:
""

deleteAction

public abstract ForeignKeyAction deleteAction
Delete action to be applied to any ForeignKey on this join.

Default:
UNKNOWN

columns

public abstract Column[] columns
Detail definition of the join column(s).

Default:
{}


Copyright © 2003-2008 Java Persistent Objects (JPOX). All Rights Reserved.