|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.bridge.util.AbstractNode
org.mmbase.bridge.util.MapNode<Object>
org.mmbase.bridge.mock.MockNode
org.mmbase.bridge.mock.MockRelation
public class MockRelation
| Field Summary |
|---|
| Fields inherited from class org.mmbase.bridge.mock.MockNode |
|---|
cloud |
| Fields inherited from class org.mmbase.bridge.util.MapNode |
|---|
nodeManager, originals, sizes, values, wrapper |
| Fields inherited from interface org.mmbase.bridge.Node |
|---|
CLOUD_COMMITNODE_KEY |
| Constructor Summary | |
|---|---|
MockRelation(MockCloudContext.NodeDescription nd,
MockCloud cloud,
boolean isNew)
|
|
| Method Summary | |
|---|---|
Node |
getDestination()
Retrieves the destination of the relation |
RelationManager |
getRelationManager()
Retrieves the RelationManager used |
Node |
getSource()
Retrieves the source of the relation |
void |
setDestination(Node n)
set the destination of the relation |
void |
setSource(Node n)
set the source of the relation |
| Methods inherited from class org.mmbase.bridge.mock.MockNode |
|---|
commit, createAlias, delete, deleteAlias, getAliases, getContext, getPossibleContexts, getValueWithoutProcess, isNew, setContext, toString |
| Methods inherited from class org.mmbase.bridge.util.MapNode |
|---|
cancel, countRelatedNodes, countRelatedNodes, createRelation, createVirtualNodeManager, deleteRelations, edit, getCloud, getNodeManager, getNumber, getRelatedNodes, getRelations, getRelations, getSize, hasRelations, isChanged, isChanged, isNull, mayChangeContext, mayWrite, setNodeManager, setSize, setValueWithoutChecks, setValueWithoutProcess |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
MockRelation(MockCloudContext.NodeDescription nd,
MockCloud cloud,
boolean isNew)
| Method Detail |
|---|
public RelationManager getRelationManager()
Relation
getRelationManager in interface Relationpublic void setSource(Node n)
Relation
setSource in interface Relationn - the source nodepublic void setDestination(Node n)
Relation
setDestination in interface Relationn - the destination nodepublic Node getSource()
Relation
getSource in interface Relationpublic Node getDestination()
Relation
getDestination in interface Relation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||