|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.metadata.Relation
public class Relation
Utility class providing enums for the different relation types. TODO Consider adding the other subtypes of relations ... join table, foreign key etc
Field Summary | |
---|---|
static int |
MANY_TO_MANY_BI
Many to Many bidirectional (collection/map at both sides). |
static int |
MANY_TO_ONE_BI
Many to One bidirectional (reference back to a collection of the object). |
static int |
NONE
No relation. |
static int |
ONE_TO_MANY_BI
One to Many bidirectional (collection/map of object with reference back). |
static int |
ONE_TO_MANY_UNI
One to Many unidirectional (collection/map of object with no reference back). |
static int |
ONE_TO_ONE_BI
One to One bidirectional (object reference at both sides). |
static int |
ONE_TO_ONE_UNI
One to One bidirectional (object reference at one side only). |
Constructor Summary | |
---|---|
Relation()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NONE
public static final int ONE_TO_ONE_UNI
public static final int ONE_TO_ONE_BI
public static final int ONE_TO_MANY_UNI
public static final int ONE_TO_MANY_BI
public static final int MANY_TO_MANY_BI
public static final int MANY_TO_ONE_BI
Constructor Detail |
---|
public Relation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |