org.mmbase.storage.search
Class ResultNode
java.lang.Object
org.mmbase.module.core.MMObjectNode
org.mmbase.module.core.VirtualNode
org.mmbase.storage.search.ResultNode
- 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.
- Since:
- MMBase-1.7
- Version:
- $Id: ResultNode.java 35965 2009-06-11 06:56:31Z michiel $
- Author:
- Rob van Maris
- See Also:
- Serialized Form
|
Method Summary |
int |
getDBType(String fieldName)
Returns the DBType of a field. |
| 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 |
ResultNode
public ResultNode(ResultBuilder parent)
- Constructor.
- Parameters:
parent - The node's parent.
getDBType
public int getDBType(String fieldName)
- Description copied from class:
MMObjectNode
- Returns the DBType of a field.
- Overrides:
getDBType in class MMObjectNode
- Parameters:
fieldName - the name of the field which' type to return
- Returns:
- the field's DBType
MMBase 2.0-SNAPSHOT - null