[cvs] Expresso commit by mtraum: deprecate another method

JCorporate Ltd jcorp at jcorp2.servlets.net
Tue Oct 12 13:16:43 PDT 2004


Log Message:
-----------
deprecate another method

Modified Files:
--------------
    expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj:
        DBObject.java

Revision Data
-------------
Index: DBObject.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj/DBObject.java,v
retrieving revision 1.214
retrieving revision 1.215
diff -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj/DBObject.java -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj/DBObject.java -u -r1.214 -r1.215
--- expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj/DBObject.java
+++ expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj/DBObject.java
@@ -4532,6 +4532,7 @@
      * @param fieldName Name of the field
      * @return boolean True if the field is multi-valued, false if not
      * @throws DBException If there is no such field
+     * @deprecated since 5.6, use getJDBCMetaData().isMultiValued(String)
      */
     public synchronized boolean isMultiValued(String fieldName)
             throws DBException {
@@ -4548,7 +4549,7 @@
      * @param fieldName The field name to check
      * @return True of the field is "read only", false if it is not
      * @throws DBException Ff there is no such field
-     * @deprecated since 5.6, use DBField.isReadOnly()
+     * @deprecated since 5.6, use getJDBCMetaData().isReadOnly(String)
      */
     public boolean isReadOnly(String fieldName)
             throws DBException {
@@ -4573,7 +4574,7 @@
      * @return True if the field is 'secret', false if it is not
      * @throws DBException If there is no such field.
      * @see #setSecret(String)
-     * @deprecated since 5.6, use DBField.isSecret()
+     * @deprecated since 5.6, use getJDBCMetaData().isSecret(String)
      */
     public boolean isSecret(String fieldName)
             throws DBException {
@@ -4591,7 +4592,7 @@
      * @return True of the field is virtual, false if it is not
      * @throws DBException If there is no such field
      * @see #addVirtualField(String, String, int, String)
-     * @deprecated since 5.6, use DBField.isVirtual()
+     * @deprecated since 5.6, use getJDBCMetaData().isVirtual(String)
      */
     public boolean isVirtual(String fieldName)
             throws DBException {


More information about the cvs mailing list