org.mmbase.bridge.implementation
Class BasicFunctionValue

java.lang.Object
  extended byorg.mmbase.bridge.util.AbstractFieldValue
      extended byorg.mmbase.bridge.implementation.BasicFunctionValue
All Implemented Interfaces:
FieldValue

public class BasicFunctionValue
extends AbstractFieldValue

This implementation of the Field Value interface is used by getFunctionValue 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,v 1.19 2005/12/29 22:03:13 michiel Exp $
Author:
Michiel Meeuwissen

Field Summary
 
Fields inherited from class org.mmbase.bridge.util.AbstractFieldValue
CANNOTCHANGE, cloud, node
 
Method Summary
protected static Object convert(Object o, Cloud cloud)
           
 Object get()
          Returns the value as an Object.
 
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
 

Method Detail

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


MMBase build 1.8.1.20060716