Class ResultNode

Package class diagram package ResultNode
  extended by org.mmbase.module.core.MMObjectNode
      extended by org.mmbase.module.core.VirtualNode
          extended by
All Implemented Interfaces:
Serializable, Cloneable, PublicCloneable<MMObjectNode>, SizeMeasurable

public class ResultNode
extends VirtualNode

A ResultNode is a virtual node, used to represent the result of executing an arbitrary search query.

The fields of this node correspond to the fields of the result of the query. Consequently, and unlike real a real node, a ResultNode does not necessarilly have number, owner or otype fields.

Additionally, the fields of this node can have arbitrary names, specified by the field aliases in the search query.

The parent builder of a ResultNode is always a ResultBuilder, that contains info on the node's fields.

$Id: 35965 2009-06-11 06:56:31Z michiel $
Rob van Maris
See Also:
Serialized Form

Field Summary
Fields inherited from class org.mmbase.module.core.MMObjectNode
aliases, initializing, isNew, parent, sequence, VALUE_SHORTED, values
Constructor Summary
ResultNode(ResultBuilder parent)
Method Summary
 int getDBType(String fieldName)
          Returns the DBType of a field.
Methods inherited from class org.mmbase.module.core.VirtualNode
checkFieldExistance, commit, getAge, getOType, getRelationCount, getRelationCount, getRelations, hasRelations, insert, isVirtual
Methods inherited from class org.mmbase.module.core.MMObjectNode
cancel, checkSerializable, clearChanged, clone, commit, compareTo, createParameters, defaultEquals, delPropertiesCache, delRelationsCache, delRelationsCache, equals, finish, getAllRelations, getBooleanValue, getBuilder, getByteSize, getByteSize, getByteValue, getChanged, getContext, getDateValue, getDBState, getDoubleValue, getFloatValue, getFunction, getFunctions, getFunctionValue, getGUIIndicator, getInputStreamValue, getIntegerValue, getIntValue, getListValue, getLongValue, getName, getNodeValue, getNumber, getOldBuilder, getOldValues, getPossibleContexts, getProperties, getProperty, getRelatedNodes, getRelatedNodes, getRelatedNodes, getRelatedNodes, getRelationNodes, getRelations, getRelations, getSize, getStringValue, getValue, getValues, getXMLValue, hashCode, insert, isChanged, isNew, isNull, putProperty, remove, removeRelations, retrieveValue, sendFieldChangeSignal, setAlias, setBuilder, setContext, setSize, setValue, start, storeValue, testValidData, toString, toXML
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail


public ResultNode(ResultBuilder parent)

parent - The node's parent.
Method Detail


public int getDBType(String fieldName)
Description copied from class: MMObjectNode
Returns the DBType of a field.

getDBType in class MMObjectNode
fieldName - the name of the field which' type to return
the field's DBType

MMBase2 Core 2.0-SNAPSHOT - 2014-09-22T23:08