[jboss-svn-commits] JBL Code SVN: r14317 - labs/jbossesb/trunk/product/tools/console/management/src/main/java/org/jboss/soa/esb/monitoring/pojo.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Aug 16 13:27:20 EDT 2007


Author: tcunning
Date: 2007-08-16 13:27:19 -0400 (Thu, 16 Aug 2007)
New Revision: 14317

Modified:
   labs/jbossesb/trunk/product/tools/console/management/src/main/java/org/jboss/soa/esb/monitoring/pojo/JMXData.java
Log:
bug:JBESB-738
Add comments.


Modified: labs/jbossesb/trunk/product/tools/console/management/src/main/java/org/jboss/soa/esb/monitoring/pojo/JMXData.java
===================================================================
--- labs/jbossesb/trunk/product/tools/console/management/src/main/java/org/jboss/soa/esb/monitoring/pojo/JMXData.java	2007-08-16 17:21:52 UTC (rev 14316)
+++ labs/jbossesb/trunk/product/tools/console/management/src/main/java/org/jboss/soa/esb/monitoring/pojo/JMXData.java	2007-08-16 17:27:19 UTC (rev 14317)
@@ -24,7 +24,11 @@
 import java.util.Date;
 
 /**
- * POJO storing a JMX attribute's data on a specific server at a specific time.
+ * POJO storing a JMX attribute's data on a specific server at a specific
+ * time.   The JMXData object stores the related attribute, the server name,
+ * the collection date and the data.    Only one of the
+ * timevalue/countvalue/textvalue are set - depending on what the type of the
+ * object is.
  * 
  * @author <a href="mailto:tcunning at redhat.com">Tom Cunningham</a>
  * @since Version 4.2
@@ -64,58 +68,114 @@
        this.textvalue = textvalue;
     }
    
+    /**
+     * Id getter.
+     * @return id
+     */
     public Long getId() {
         return this.id;
     }
     
+    /**
+     * Id mutator. 
+     * @param id id
+     */
     public void setId(Long id) {
         this.id = id;
     }
     
+    /**
+     * Attribute name getter.
+     * @return attribute name
+     */
     public JMXAttribute getAttribute() {
         return this.attribute;
     }
     
+    /**
+     * Attribute name mutator.
+     * @param attribute attribute name
+     */
     public void setAttribute(JMXAttribute attribute) {
         this.attribute = attribute;
     }
     
+    /**
+     * Server name getter.
+     * @return server name
+     */
     public String getServer() {
     	return server;
     }
     
+    /**
+     * Server name mutator.
+     * @param f_server server name
+     */
     public void setServer(String f_server) {
     	server = f_server;
     }
     
+    /**
+     * Stat date getter.
+     * @return stat date
+     */
     public Date getStatdate() {
         return this.statdate;
     }
     
+    /**
+     * Stat date mutator.
+     * @param statdate stat date
+     */
     public void setStatdate(Date statdate) {
         this.statdate = statdate;
     }
     
+    /**
+     * Time value getter.
+     * @return time value
+     */
     public Float getTimevalue() {
         return this.timevalue;
     }
     
+    /**
+     * Time value mutator.
+     * @param timevalue time value
+     */
     public void setTimevalue(Float timevalue) {
         this.timevalue = timevalue;
     }
     
+    /**
+     * Count value getter.
+     * @return count value
+     */
     public Integer getCountvalue() {
         return this.countvalue;
     }
     
+    /**
+     * Count value mutator.
+     * @param countvalue count value
+     */
     public void setCountvalue(Integer countvalue) {
         this.countvalue = countvalue;
     }
     
+    /**
+     * Text value getter.
+     * @return text value
+     */
     public String getTextvalue() {
         return this.textvalue;
     }
     
+    /**
+     * Text value mutator.
+     * @param textvalue text value
+     */
     public void setTextvalue(String textvalue) {
         this.textvalue = textvalue;
     }




More information about the jboss-svn-commits mailing list