|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modelsphere.jack.baseDb.meta.MetaField
org.modelsphere.jack.baseDb.meta.MetaRelationship
org.modelsphere.jack.baseDb.meta.MetaRelation
org.modelsphere.jack.baseDb.meta.MetaRelationN
public final class MetaRelationN
Defines a one-to-many (0..n or 1..n) relationship.
Arbitrary minimal and maximal cardinalities may be specified (for instance, we may specific that
a league is associated to at least two teams and at most 50 teams).
Field Summary | |
---|---|
static int |
cardN
|
Fields inherited from class org.modelsphere.jack.baseDb.meta.MetaField |
---|
COPY_REFS, HUGE_RELN, INTEGRABLE, INTEGRABLE_BY_NAME, NO_WRITE_CHECK, WRITE_CHECK |
Constructor Summary | |
---|---|
MetaRelationN(java.lang.String name,
int minCard,
int maxCard)
|
Method Summary |
---|
Methods inherited from class org.modelsphere.jack.baseDb.meta.MetaRelation |
---|
getOppositeRel, setOppositeRel |
Methods inherited from class org.modelsphere.jack.baseDb.meta.MetaRelationship |
---|
getMaxCard, getMinCard |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int cardN
Constructor Detail |
---|
public MetaRelationN(java.lang.String name, int minCard, int maxCard)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |