You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2002/02/09 12:01:07 UTC
cvs commit: jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt AttributeDescriptor.java
rdonkin 02/02/09 03:01:06
Modified: betwixt/src/java/org/apache/commons/betwixt
AttributeDescriptor.java
Log:
Added to string method for use by logging
Revision Changes Path
1.4 +10 -5 jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/AttributeDescriptor.java
Index: AttributeDescriptor.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/AttributeDescriptor.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- AttributeDescriptor.java 30 Jan 2002 19:35:36 -0000 1.3
+++ AttributeDescriptor.java 9 Feb 2002 11:01:05 -0000 1.4
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/AttributeDescriptor.java,v 1.3 2002/01/30 19:35:36 rdonkin Exp $
- * $Revision: 1.3 $
- * $Date: 2002/01/30 19:35:36 $
+ * $Header: /home/cvs/jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/AttributeDescriptor.java,v 1.4 2002/02/09 11:01:05 rdonkin Exp $
+ * $Revision: 1.4 $
+ * $Date: 2002/02/09 11:01:05 $
*
* ====================================================================
*
@@ -57,7 +57,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*
- * $Id: AttributeDescriptor.java,v 1.3 2002/01/30 19:35:36 rdonkin Exp $
+ * $Id: AttributeDescriptor.java,v 1.4 2002/02/09 11:01:05 rdonkin Exp $
*/
package org.apache.commons.betwixt;
@@ -65,7 +65,7 @@
* to be created for a bean instance.</p>
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public class AttributeDescriptor extends NodeDescriptor {
@@ -81,5 +81,10 @@
/** Creates a AttributeDescriptor with namespace URI and qualified name */
public AttributeDescriptor(String localName,String qualifiedName,String uri) {
super(localName, qualifiedName, uri);
+ }
+
+ /** Return something useful for logging */
+ public String toString() {
+ return "AttributeDescriptor[qname=" + getQualifiedName() + ",class=" + getPropertyType();
}
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>