|
||||||||||
| 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.implementation.BasicNode
org.mmbase.bridge.implementation.BasicRelation
| Field Summary | |
protected int |
dnum
|
protected boolean |
relationChanged
|
protected int |
snum
|
| Fields inherited from class org.mmbase.bridge.implementation.BasicNode |
cloud, nodeManager, noderef |
| Fields inherited from class org.mmbase.bridge.util.AbstractNode |
ACTION_COMMIT, ACTION_CREATE, ACTION_DELETE, ACTION_EDIT |
| Method Summary | |
void |
commit()
Commit the node to the database. |
Node |
getDestination()
Retrieves the destination of the relation |
RelationManager |
getRelationManager()
Retrieves the RelationManager used |
Node |
getSource()
Retrieves the source of the relation |
protected void |
init()
Initializes the node. |
boolean |
isRelation()
Determine whether this Node is a Relation. |
void |
setDestination(Node node)
set the destination of the relation |
void |
setSource(Node node)
set the source of the relation |
void |
setValueWithoutProcess(String fieldName,
Object value)
Like setValue, but skips any processing that MMBase would normally perform on a field. |
Relation |
toRelation()
Returns this as a Relation. |
| Methods inherited from class org.mmbase.bridge.implementation.BasicNode |
cancel, countRelatedNodes, countRelatedNodes, createAlias, createFunctionValue, createParameters, delete, deleteAlias, deleteRelations, edit, finalize, getAliases, getBooleanValue, getByteSize, getByteSize, getByteValue, getChanged, getCloud, getContext, getDateValue, getDoubleValue, getFloatValue, getFunctions, getInputStreamValue, getIntValue, getListValue, getLongValue, getNode, getNodeFunction, getNodeManager, getNodeValue, getNumber, getPossibleContexts, getRelatedNodes, getRelations, getRelations, getSize, getStringValue, getValueWithoutProcess, getXMLValue, hashCode, hasRelations, invalidateNode, isChanged, isChanged, isNew, isNull, mayChangeContext, mayDelete, mayWrite, setContext, setNode, setNodeManager, setSize, setValueWithoutChecks, toNodeNumber, toString |
| Methods inherited from class org.mmbase.bridge.util.AbstractNode |
compareTo, countRelations, countRelations, createRelation, delete, deleteRelations, equals, getFieldValue, getFieldValue, getFunction, getFunctionValue, getObjectValue, getRelatedNodes, getRelatedNodes, getRelatedNodes, getRelatedNodes, getRelations, getRelations, getRelations, getValue, getXMLValue, isNodeManager, isRelationManager, processCommit, setBooleanValue, setByteValue, setDateValue, setDoubleValue, setFloatValue, setInputStreamValue, setIntValue, setListValue, setLongValue, setNodeValue, setObjectValue, setStringValue, setValue, setXMLValue, toNodeManager, toRelationManager, validate |
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Field Detail |
protected int snum
protected int dnum
protected boolean relationChanged
| Method Detail |
public final boolean isRelation()
Node
isRelation in interface NodeisRelation in class AbstractNodepublic Relation toRelation()
Node
toRelation in interface NodetoRelation in class AbstractNodeprotected void init()
init in class BasicNodepublic Node getSource()
Relation
getSource in interface Relationpublic Node getDestination()
Relation
getDestination in interface Relationpublic void setSource(Node node)
Relation
setSource in interface Relationnode - the source nodepublic void setDestination(Node node)
Relation
setDestination in interface Relationnode - the destination nodepublic RelationManager getRelationManager()
Relation
getRelationManager in interface Relation
public void setValueWithoutProcess(String fieldName,
Object value)
Node
setValueWithoutProcess in interface NodesetValueWithoutProcess in class AbstractNodefieldName - name of fieldvalue - new value of the fieldpublic void commit()
Node
commit in interface Nodecommit in class BasicNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||