[MMBASE CVS] src/org/mmbase/bridge Node.java

2009-03-23 Thread Michiel Meeuwissen
Update of /var/cvs/src/org/mmbase/bridge
In directory james.mmbase.org:/tmp/cvs-serv2409

Modified Files:
  Tag: MMBase-1_8
Node.java 
Log Message:
To fix MMB-1794 correctly, we need to know when which node is commited


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/bridge
See also: http://www.mmbase.org/jira/browse/MMB-1794


Index: Node.java
===
RCS file: /var/cvs/src/org/mmbase/bridge/Node.java,v
retrieving revision 1.70.2.1
retrieving revision 1.70.2.2
diff -u -b -r1.70.2.1 -r1.70.2.2
--- Node.java   21 Jun 2007 07:39:08 -  1.70.2.1
+++ Node.java   23 Mar 2009 17:33:08 -  1.70.2.2
@@ -21,11 +21,20 @@
  *
  * @author Rob Vermeulen
  * @author Pierre van Rooden
- * @version $Id: Node.java,v 1.70.2.1 2007/06/21 07:39:08 pierre Exp $
+ * @version $Id: Node.java,v 1.70.2.2 2009/03/23 17:33:08 michiel Exp $
  */
 public interface Node extends Comparable {
 
 /**
+ * During commit of the node, this property of the cloud, should contain 
the node number of the
+ * node
+ * @since MMBase-1.9
+ */
+public static String CLOUD_COMMITNODE_KEY = org.mmbase.cloud.commit_node;
+
+
+
+/**
  * Returns the cloud this node belongs to.
  * @return the Cloud
  */
___
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs


[MMBASE CVS] src/org/mmbase/bridge Node.java

2009-03-23 Thread Michiel Meeuwissen
Update of /var/cvs/src/org/mmbase/bridge
In directory james.mmbase.org:/tmp/cvs-serv2701

Modified Files:
Node.java 
Log Message:
To fix MMB-1794 correctly, we need to know when which node is commited


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/bridge
See also: http://www.mmbase.org/jira/browse/MMB-1794


Index: Node.java
===
RCS file: /var/cvs/src/org/mmbase/bridge/Node.java,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -b -r1.82 -r1.83
--- Node.java   11 Feb 2009 10:44:09 -  1.82
+++ Node.java   23 Mar 2009 17:42:11 -  1.83
@@ -21,11 +21,18 @@
  *
  * @author Rob Vermeulen
  * @author Pierre van Rooden
- * @version $Id: Node.java,v 1.82 2009/02/11 10:44:09 michiel Exp $
+ * @version $Id: Node.java,v 1.83 2009/03/23 17:42:11 michiel Exp $
  */
 public interface Node extends ComparableNode {
 
 /**
+ * During commit of the node, this property of the cloud, should contain 
the node number of the
+ * node
+ * @since MMBase-1.9.1
+ */
+public static String CLOUD_COMMITNODE_KEY = org.mmbase.cloud.commit_node;
+
+/**
  * Returns the cloud this node belongs to.
  * @return the Cloud
  */
___
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs


[MMBASE CVS] src/org/mmbase/bridge Node.java

2009-02-11 Thread Michiel Meeuwissen
Update of /var/cvs/src/org/mmbase/bridge
In directory james.mmbase.org:/tmp/cvs-serv11088

Modified Files:
Node.java 
Log Message:
dropped a bunch of redundant 'public' modifiers


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/bridge


Index: Node.java
===
RCS file: /var/cvs/src/org/mmbase/bridge/Node.java,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -b -r1.81 -r1.82
--- Node.java   31 Jan 2009 07:41:24 -  1.81
+++ Node.java   11 Feb 2009 10:44:09 -  1.82
@@ -1,10 +1,10 @@
 /*
 
-This software is OSI Certified Open Source Software.
-OSI Certified is a certification mark of the Open Source Initiative.
+  This software is OSI Certified Open Source Software.
+  OSI Certified is a certification mark of the Open Source Initiative.
 
-The license (Mozilla version 1.0) can be read at the MMBase site.
-See http://www.MMBase.org/license
+  The license (Mozilla version 1.0) can be read at the MMBase site.
+  See http://www.MMBase.org/license
 
 */
 
@@ -21,7 +21,7 @@
  *
  * @author Rob Vermeulen
  * @author Pierre van Rooden
- * @version $Id: Node.java,v 1.81 2009/01/31 07:41:24 michiel Exp $
+ * @version $Id: Node.java,v 1.82 2009/02/11 10:44:09 michiel Exp $
  */
 public interface Node extends ComparableNode {
 
@@ -29,13 +29,13 @@
  * Returns the cloud this node belongs to.
  * @return the Cloud
  */
-public Cloud getCloud();
+Cloud getCloud();
 
 /**
  * Returns the node manager for this node.
  * @return the node manager
  */
-public NodeManager getNodeManager();
+NodeManager getNodeManager();
 
 /**
  * Returns the unique number for this node. Every node has a unique number
@@ -48,14 +48,14 @@
  * @return the unique number for this node
  * @see#createAlias(String alias)
  */
-public int getNumber();
+int getNumber();
 
 /**
  * Determine whether this Node is a Relation.
  * @since MMBase-1.6
  * @return codetrue/code if this Node is a Relation.
  */
-public boolean isRelation();
+boolean isRelation();
 
 /**
  * Returns this as a Relation.
@@ -63,14 +63,14 @@
  * @return a codeRelation/code object
  * @throws ClassCastException if the Node is not a Relation
  */
-public Relation toRelation();
+Relation toRelation();
 
 /**
  * Determine whether this Node is a NodeManager.
  * @since MMBase-1.6
  * @return codetrue/code if this Node is a NodeManager.
  */
-public boolean isNodeManager();
+boolean isNodeManager();
 
 /**
  * Returns this as a NodeManager.
@@ -78,14 +78,14 @@
  * @return a codeNodeManager/code object
  * @throws ClassCastException if the Node is not a NodeManager
  */
-public NodeManager toNodeManager();
+NodeManager toNodeManager();
 
 /**
  * Determine whether this Node is a RelationManager.
  * @since MMBase-1.6
  * @return codetrue/code if this Node is a RelationManager.
  */
-public boolean isRelationManager();
+boolean isRelationManager();
 
 /**
  * Returns this as a RelationManager.
@@ -93,7 +93,7 @@
  * @return a codeNodeManager/code object
  * @throws ClassCastException if the Node is not a RelationManager
  */
-public RelationManager toRelationManager();
+RelationManager toRelationManager();
 
 /**
  * Sets the value of the specified field using an object, but delegated to 
the right
@@ -106,7 +106,7 @@
  * @param fieldName  the name of the field to be updated
  * @param value  the new value for the given field
  */
-public void setValue(String fieldName, Object value);
+void setValue(String fieldName, Object value);
 
 /**
  * Like setValue, but skips any processing that MMBase would normally 
perform on a field.
@@ -117,7 +117,7 @@
  * @param value new value of the field
  * @since MMBase-1.8
  */
-public void setValueWithoutProcess(String fieldName, Object value);
+void setValueWithoutProcess(String fieldName, Object value);
 
 /**
  * Sets the value of the specified field using an object, but without 
dispatching to the right
@@ -127,7 +127,7 @@
  * @param value  the new value for the given field
  * @since MMBase-1.7
  */
-public void setObjectValue(String fieldName, Object value);
+void setObjectValue(String fieldName, Object value);
 
 /**
  * Sets the value of the specified field using an codeboolean/code.
@@ -138,7 +138,7 @@
  * @param fieldName  the name of the field to be updated
  * @param value  the new value for the given field
  */
-public void setBooleanValue(String fieldName, boolean value);
+void setBooleanValue(String fieldName, boolean value);
 
 /**
  * Sets the value of the specified field using an codeNode/code.
@@ -149,7 +149,7 @@
  * @param fieldName  the name of the field to 

[MMBASE CVS] src/org/mmbase/bridge Node.java

2009-01-30 Thread Michiel Meeuwissen
Update of /var/cvs/src/org/mmbase/bridge
In directory james.mmbase.org:/tmp/cvs-serv23589

Modified Files:
Node.java 
Log Message:
javadoc


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/bridge


Index: Node.java
===
RCS file: /var/cvs/src/org/mmbase/bridge/Node.java,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- Node.java   1 Dec 2008 22:41:06 -   1.80
+++ Node.java   31 Jan 2009 07:41:24 -  1.81
@@ -21,7 +21,7 @@
  *
  * @author Rob Vermeulen
  * @author Pierre van Rooden
- * @version $Id: Node.java,v 1.80 2008/12/01 22:41:06 michiel Exp $
+ * @version $Id: Node.java,v 1.81 2009/01/31 07:41:24 michiel Exp $
  */
 public interface Node extends ComparableNode {
 
@@ -286,7 +286,7 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
- * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * @throws IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
  * field does not exist.
  */
 public Object getValue(String fieldName);
@@ -296,7 +296,7 @@
  * @param fieldName name of the field
  * @return object value
  * @since MMBase-1.7
- * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * @throws IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
  * field does not exist.
  */
 public Object getObjectValue(String fieldName);
@@ -308,7 +308,7 @@
  * @param fieldName name of field
  * @return value without processing
  * @since MMBase-1.8
- * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * @throws IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
  * field does not exist.
  */
 public Object getValueWithoutProcess(String fieldName);
@@ -325,7 +325,7 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
- * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * @throws IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
  * field does not exist.
 
  */
@@ -355,7 +355,7 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
- * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * @throws IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
  * field does not exist.
 
  * @see Cloud#getList(String, String, String, String, String, String, 
String, boolean)
@@ -374,7 +374,7 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
- * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * @throws IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
  * field does not exist.
 
  */
@@ -405,7 +405,7 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
- * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * @throws IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
  * field does not exist.
 
  */
@@ -422,7 +422,7 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
- * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * @throws IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
  * field does not exist.
 
  */
@@ -436,7 +436,7 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
- * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * @throws IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
  * field does not exist.
 
  */
@@ -449,7 +449,7 @@
  * stored in memory.
  * @param fieldName  the name of the field
  * @return value of field as a input stream
- * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * @throws IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
  * field does not exist.
  * @since MMBase-1.8
  */
@@ -464,7 +464,7 @@
  *
  * @param fieldName  the name of the field 

[MMBASE CVS] src/org/mmbase/bridge Node.java

2008-12-01 Thread Michiel Meeuwissen
Update of /var/cvs/src/org/mmbase/bridge
In directory james.mmbase.org:/tmp/cvs-serv29264

Modified Files:
Node.java 
Log Message:
MMB-1736


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/bridge
See also: http://www.mmbase.org/jira/browse/MMB-1736


Index: Node.java
===
RCS file: /var/cvs/src/org/mmbase/bridge/Node.java,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -b -r1.79 -r1.80
--- Node.java   22 Sep 2008 17:00:13 -  1.79
+++ Node.java   1 Dec 2008 22:41:06 -   1.80
@@ -21,7 +21,7 @@
  *
  * @author Rob Vermeulen
  * @author Pierre van Rooden
- * @version $Id: Node.java,v 1.79 2008/09/22 17:00:13 michiel Exp $
+ * @version $Id: Node.java,v 1.80 2008/12/01 22:41:06 michiel Exp $
  */
 public interface Node extends ComparableNode {
 
@@ -232,6 +232,19 @@
 public void setDateValue(String fieldName, Date value);
 
 
+
+/**
+ * Sets the value of the specified field using a codeBigDecimal/code.
+ * This change will not be visible to the cloud until the commit method is
+ * called.
+ *
+ * @param fieldName  the name of the field to be updated
+ * @param value  the new value for the given field
+ * @since MMBase-1.9.1
+ */
+public void setDecimalValue(String fieldName, java.math.BigDecimal value);
+
+
 /**
  * Sets the value of the specified field using a codeList/code.
  * This change will not be visible to the cloud until the commit method is
@@ -468,6 +481,15 @@
 /**
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
+ * @since MMBase-1.9.1
+ * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * field does not exist.
+ */
+public java.math.BigDecimal getDecimalValue(String fieldName);
+
+/**
+ * @param fieldName  the name of the field to be returned
+ * @return   the value of the specified field
  * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
  * field does not exist.
  * not yet working
___
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs


[MMBASE CVS] src/org/mmbase/bridge Node.java

2008-09-22 Thread Michiel Meeuwissen
Update of /var/cvs/src/org/mmbase/bridge
In directory james.mmbase.org:/tmp/cvs-serv28393

Modified Files:
Node.java 
Log Message:
Javadoc


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/bridge


Index: Node.java
===
RCS file: /var/cvs/src/org/mmbase/bridge/Node.java,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- Node.java   18 Sep 2008 09:49:18 -  1.78
+++ Node.java   22 Sep 2008 17:00:13 -  1.79
@@ -21,7 +21,7 @@
  *
  * @author Rob Vermeulen
  * @author Pierre van Rooden
- * @version $Id: Node.java,v 1.78 2008/09/18 09:49:18 michiel Exp $
+ * @version $Id: Node.java,v 1.79 2008/09/22 17:00:13 michiel Exp $
  */
 public interface Node extends ComparableNode {
 
@@ -273,6 +273,8 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
+ * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * field does not exist.
  */
 public Object getValue(String fieldName);
 
@@ -281,6 +283,8 @@
  * @param fieldName name of the field
  * @return object value
  * @since MMBase-1.7
+ * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * field does not exist.
  */
 public Object getObjectValue(String fieldName);
 
@@ -291,6 +295,8 @@
  * @param fieldName name of field
  * @return value without processing
  * @since MMBase-1.8
+ * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * field does not exist.
  */
 public Object getValueWithoutProcess(String fieldName);
 
@@ -306,6 +312,9 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
+ * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * field does not exist.
+
  */
 public boolean getBooleanValue(String fieldName);
 
@@ -333,6 +342,9 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
+ * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * field does not exist.
+
  * @see Cloud#getList(String, String, String, String, String, String, 
String, boolean)
  */
 public Node getNodeValue(String fieldName);
@@ -349,6 +361,9 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
+ * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * field does not exist.
+
  */
 public int getIntValue(String fieldName);
 
@@ -377,6 +392,9 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
+ * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * field does not exist.
+
  */
 public long getLongValue(String fieldName);
 
@@ -391,6 +409,9 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
+ * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * field does not exist.
+
  */
 public double getDoubleValue(String fieldName);
 
@@ -402,6 +423,9 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
+ * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * field does not exist.
+
  */
 public byte[] getByteValue(String fieldName);
 
@@ -412,6 +436,8 @@
  * stored in memory.
  * @param fieldName  the name of the field
  * @return value of field as a input stream
+ * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * field does not exist.
  * @since MMBase-1.8
  */
 public InputStream getInputStreamValue(String fieldName);
@@ -425,6 +451,8 @@
  *
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
+ * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * field does not exist.
  */
 public String getStringValue(String fieldName);
 
@@ -432,12 +460,16 @@
  * @param fieldName  the name of the field to be returned
  * @return   the value of the specified field
  * @since MMBase-1.8
+ * @throw IllegalArgumentException if mmbase is 'in development' (i.e. 
'strict' mode) and the
+ * field does not exist.
  */
 public Date getDateValue(String 

[MMBASE CVS] src/org/mmbase/bridge Node.java

2008-09-18 Thread Michiel Meeuwissen
Update of /var/cvs/src/org/mmbase/bridge
In directory james.mmbase.org:/tmp/cvs-serv4813

Modified Files:
Node.java 
Log Message:
generics


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/bridge


Index: Node.java
===
RCS file: /var/cvs/src/org/mmbase/bridge/Node.java,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -b -r1.77 -r1.78
--- Node.java   16 Sep 2008 16:43:32 -  1.77
+++ Node.java   18 Sep 2008 09:49:18 -  1.78
@@ -21,7 +21,7 @@
  *
  * @author Rob Vermeulen
  * @author Pierre van Rooden
- * @version $Id: Node.java,v 1.77 2008/09/16 16:43:32 michiel Exp $
+ * @version $Id: Node.java,v 1.78 2008/09/18 09:49:18 michiel Exp $
  */
 public interface Node extends ComparableNode {
 
@@ -242,7 +242,7 @@
  * // not yet working
  * @since MMBase-1.8
  */
-public void setListValue(String fieldName, List value);
+public void setListValue(String fieldName, List? value);
 
 /**
  * Whether the value for the specified field is codenull/code. This 
avoids acquiring the
@@ -441,7 +441,7 @@
  * not yet working
  * @since MMBase-1.8
  */
-public List getListValue(String fieldName);
+public List? getListValue(String fieldName);
 
 
 /**
___
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs


[MMBASE CVS] src/org/mmbase/bridge Node.java Transaction.java Query.java Cloud.java BridgeList.java CloudContext.java

2008-02-16 Thread Nico Klasens
Update of /var/cvs/src/org/mmbase/bridge
In directory james.mmbase.org:/tmp/cvs-serv8736/src/org/mmbase/bridge

Modified Files:
Node.java Transaction.java Query.java Cloud.java 
BridgeList.java CloudContext.java 
Log Message:
Added some javadoc


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/bridge


Index: Node.java
===
RCS file: /var/cvs/src/org/mmbase/bridge/Node.java,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- Node.java   3 Feb 2008 17:33:57 -   1.75
+++ Node.java   16 Feb 2008 22:13:53 -  1.76
@@ -21,7 +21,7 @@
  *
  * @author Rob Vermeulen
  * @author Pierre van Rooden
- * @version $Id: Node.java,v 1.75 2008/02/03 17:33:57 nklasens Exp $
+ * @version $Id: Node.java,v 1.76 2008/02/16 22:13:53 nklasens Exp $
  */
 public interface Node extends ComparableNode {
 
@@ -193,6 +193,9 @@
 
 /**
  * Sets the value of the specified field using a 
codejava.io.InputStream/code.
+ * @param fieldName  the name of the field to be updated
+ * @param value  the new value for the given field
+ * @param size   size of input stream
  * @since MMBase-1.8.
  */
 public void setInputStreamValue(String fieldName, InputStream value, long 
size);
@@ -242,8 +245,10 @@
 public void setListValue(String fieldName, List value);
 
 /**
- * Whether the value for the speficied field is codenull/code. This 
avoids acquiring the
- * complete value if you only want to check if for emptyness.
+ * Whether the value for the specified field is codenull/code. This 
avoids acquiring the
+ * complete value if you only want to check if for emptiness.
+ * @param fieldName   the name of the field
+ * @return codetrue/code when value is codenull/code
  * @since MMBase-1.8
  */
 public boolean isNull(String fieldName);
@@ -252,6 +257,8 @@
 /**
  * Returns the 'size' (e.g. the number of bytes of a byte array) for the 
specified field. This
  * avoids acquiring the complete value if you only want to know how big 
the value of the field is.
+ * @param fieldNamethe name of the field
+ * @return  the 'size'
  * @since MMBase-1.8
  */
 public long getSize(String fieldName);
@@ -282,6 +289,7 @@
  * You can use this to get data from a field for validation purposes.
  *
  * @param fieldName name of field
+ * @return value without processing
  * @since MMBase-1.8
  */
 public Object getValueWithoutProcess(String fieldName);
@@ -400,8 +408,10 @@
 
 /**
  * Returns the value of the specified field as a 
codejava.io.InputStream/code This is
- * especially usefull for large byte-array fields. By this you can avoid 
them to be completely
+ * especially useful for large byte-array fields. By this you can avoid 
them to be completely
  * stored in memory.
+ * @param fieldName  the name of the field
+ * @return value of field as a input stream
  * @since MMBase-1.8
  */
 public InputStream getInputStreamValue(String fieldName);
@@ -494,25 +504,30 @@
 public void delete();
 
 /**
- * Whether this Node is new (not yet commited).
+ * Whether this Node is new (not yet committed).
+ * @return codetrue/code when new
  * @since MMBase-1.8
  */
 public boolean isNew();
 
 /**
  * Whether a certain field's value was changed since the last commit.
+ * @param fieldName  the name of the field
+ * @return codetrue/code when field's value was changed
  * @since MMBase-1.8
  */
 public boolean isChanged(String fieldName);
 
 /**
  * A Set of Strings containing the names of all changed fields.
+ * @return Set of changed fields
  * @since MMBase-1.8
  */
 public SetString getChanged();
 
 /**
  * Whether  field values were changed since the last commit.
+ * @return codetrue/code when  changed
  * @since MMBase-1.8
  */
 public boolean isChanged();


Index: Transaction.java
===
RCS file: /var/cvs/src/org/mmbase/bridge/Transaction.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- Transaction.java19 Jun 2006 14:16:21 -  1.5
+++ Transaction.java16 Feb 2008 22:13:53 -  1.6
@@ -20,7 +20,7 @@
  * back by calling the transaction's cancel method.
  *
  * @author Pierre van Rooden
- * @version $Id: Transaction.java,v 1.5 2006/06/19 14:16:21 nklasens Exp $
+ * @version $Id: Transaction.java,v 1.6 2008/02/16 22:13:53 nklasens Exp $
  */
 public interface Transaction extends Cloud {
 
@@ -44,11 +44,15 @@
 public void cancel();
 
 /**
+ * Returns whether the transaction is committed
+ * @return codetrue/code when committed
  * @since MMBase-1.8
  */
 public boolean isCommitted();
 
 /**
+ * Returns whether the 

[MMBASE CVS] src/org/mmbase/bridge Node.java

2008-02-03 Thread Nico Klasens
Update of /var/cvs/src/org/mmbase/bridge
In directory james.mmbase.org:/tmp/cvs-serv25982/src/org/mmbase/bridge

Modified Files:
Node.java 
Log Message:
Cleaned the code a little
Added some generic stuff for function and datatypes


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/bridge


Index: Node.java
===
RCS file: /var/cvs/src/org/mmbase/bridge/Node.java,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -b -r1.74 -r1.75
--- Node.java   21 Jun 2007 13:46:51 -  1.74
+++ Node.java   3 Feb 2008 17:33:57 -   1.75
@@ -21,7 +21,7 @@
  *
  * @author Rob Vermeulen
  * @author Pierre van Rooden
- * @version $Id: Node.java,v 1.74 2007/06/21 13:46:51 michiel Exp $
+ * @version $Id: Node.java,v 1.75 2008/02/03 17:33:57 nklasens Exp $
  */
 public interface Node extends ComparableNode {
 
@@ -863,7 +863,7 @@
  * @return a [EMAIL PROTECTED] org.mmbase.util.functions.Function} object.
  * @throws NotFoundException if the function does not exist
  */
-public Function getFunction(String functionName);
+public Function? getFunction(String functionName);
 
 /**
  * Creates a parameter list for a function.
___
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs