org.mmbase.bridge.implementation
Class BasicFunctionValue
java.lang.Object
org.mmbase.bridge.util.AbstractFieldValue
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
| 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 |
BasicFunctionValue
BasicFunctionValue(Node node,
Object value)
- Constructor for a function value returned by a Node.
- Parameters:
node - the node that called the functionvalue - 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 valuesvalue - the function value- Since:
- MMBase-1.8
convert
protected static Object convert(Object o,
Cloud cloud)
get
public Object get()
- Description copied from interface:
FieldValue
- Returns the value as an Object.
The object type may vary and is dependent on how data was stored in a field.
I.e. It may be possible for an Integer field to return it's value as a String
if it was stored that way in the first place.
- Specified by:
get in interface FieldValue- Specified by:
get in class AbstractFieldValue
- Returns:
- the field value as an object
MMBase 2.0-SNAPSHOT - null