org.mmbase.bridge.implementation
Class BasicFunctionValue

Package class diagram package BasicFunctionValue
java.lang.Object
  extended by org.mmbase.bridge.util.AbstractFieldValue
      extended by org.mmbase.bridge.implementation.BasicFunctionValue
All Implemented Interfaces:
FieldValue

public class BasicFunctionValue
extends AbstractFieldValue

This implementation of the Field Value interface is used by Node.getFunctionValue(java.lang.String, java.util.List) of Node. This represents the result of a `function' on a node and it (therefore) is a unmodifiable.

Since:
MMBase-1.6
Version:
$Id: BasicFunctionValue.java 39191 2009-10-17 21:42:51Z michiel $
Author:
Michiel Meeuwissen

Field Summary
 
Fields inherited from class org.mmbase.bridge.util.AbstractFieldValue
CANNOTCHANGE, cloud, node
 
Constructor Summary
BasicFunctionValue(Cloud cloud, Object value)
          Constructor for a function value returned by a Module or NodeManager.
BasicFunctionValue(Node node, Object value)
          Constructor for a function value returned by a Node.
 
Method Summary
protected static Object convert(Object o, Cloud cloud)
           
 Object get()
           
 
Methods inherited from class org.mmbase.bridge.util.AbstractFieldValue
canModify, getField, getNode, isNull, set, setBoolean, setByte, setDate, setDouble, setFLoat, setInt, setLong, setNode, setObject, setString, setXML, toBoolean, toByte, toDate, toDouble, toFloat, toInt, toLong, toNode, toString, toXML, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicFunctionValue

BasicFunctionValue(Node node,
                   Object value)
Constructor for a function value returned by a Node.

Parameters:
node - the node that called the function
value - the function value
Since:
MMBase-1.8

BasicFunctionValue

BasicFunctionValue(Cloud cloud,
                   Object value)
Constructor for a function value returned by a Module or NodeManager.

Parameters:
cloud - the cloud under which the call was run, used to instantiate NodeList values
value - the function value
Since:
MMBase-1.8
Method Detail

convert

protected static Object convert(Object o,
                                Cloud cloud)

get

public Object get()
Specified by:
get in interface FieldValue
Specified by:
get in class AbstractFieldValue


MMBase2 Core 2.0-SNAPSHOT - 2013-03-30T06:36