org.tfe.console.Charts
Class ChartQueryResult

java.lang.Object
  |
  +--org.tfe.console.Charts.ChartQueryResult

public class ChartQueryResult
extends java.lang.Object

A simple class that contains a String and an integer for data retrieved from the database.

Author:
duffian

Constructor Summary
ChartQueryResult(java.lang.String name, int count)
          Creates new ChartQueryResult
 
Method Summary
 java.lang.Integer getCount()
          Gets the Integer value associated with the name value.
 java.lang.String getName()
          Gets the name value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartQueryResult

public ChartQueryResult(java.lang.String name,
                        int count)
Creates new ChartQueryResult

Parameters:
name - the name of the item retrieved from the database.
count - the number associated with the name value.
Method Detail

getName

public java.lang.String getName()
Gets the name value.

Returns:
the name value of the query result.

getCount

public java.lang.Integer getCount()
Gets the Integer value associated with the name value.

Returns:
the Integer value associated with the name value.