Update of /var/cvs/src/org/mmbase/bridge
In directory james.mmbase.org:/tmp/cvs-serv18123
Modified Files:
Field.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: Field.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/bridge/Field.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- Field.java 25 Apr 2008 15:41:10 -0000 1.38
+++ Field.java 1 Dec 2008 17:29:01 -0000 1.39
@@ -17,7 +17,7 @@
*
* @author Pierre van Rooden
* @author Jaco de Groot
- * @version $Id: Field.java,v 1.38 2008/04/25 15:41:10 nklasens Exp $
+ * @version $Id: Field.java,v 1.39 2008/12/01 17:29:01 michiel Exp $
*/
public interface Field extends Descriptor, Comparable<Field> {
@@ -58,6 +58,14 @@
* @since MMBase-1.8
*/
public final static int TYPE_LIST = 12;
+
+
+ /**
+ * @since MMBase-1.9.1
+ */
+ public final static int TYPE_DECIMAL = 13;
+
+
/** MMBase base type identifier for data types whose type is unknown */
public final static int TYPE_UNKNOWN = -1;
@@ -198,7 +206,8 @@
* Returns the maximum length of data this field can contain.
* For example if a field contains characters the size indicates the
* maximum number of characters it can contain.
- * If the field is a numeric field (such as an integer), the result is -1.
+ * If the field is a numeric field (such as an integer), the result is -1.
For a 'decimal' type
+ * though, this returns the same as the precision of the associated
datatype.
*
* @return the maximum length of data this field can contain
*/
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs