|
||||||||||
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.MetaChoice
public final class MetaChoice
A special type of MetaRelationship. A choice relationship may refer to several meta-classes, only one of them may have a cardinality of one (all the others have a cardinality of zero).
Field Summary |
---|
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 | |
---|---|
MetaChoice(java.lang.String name,
int minCard)
|
Method Summary | |
---|---|
MetaRelationship |
getOppositeRel(DbObject neighbor)
|
void |
setOppositeRels(MetaRelation[] oppositeRels)
|
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 |
Constructor Detail |
---|
public MetaChoice(java.lang.String name, int minCard)
Method Detail |
---|
public final void setOppositeRels(MetaRelation[] oppositeRels)
public final MetaRelationship getOppositeRel(DbObject neighbor)
getOppositeRel
in class MetaRelationship
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |