Smack

org.jivesoftware.smackx
Class ReportedData.Column

java.lang.Object
  extended by org.jivesoftware.smackx.ReportedData.Column
Enclosing class:
ReportedData

public static class ReportedData.Column
extends Object

Represents the columns definition of the reported data.

Author:
Gaston Dombiak

Constructor Summary
ReportedData.Column(String label, String variable, String type)
          Creates a new column with the specified definition.
 
Method Summary
 String getLabel()
          Returns the column's label.
 String getType()
          Returns the column's data format.
 String getVariable()
          Returns the variable name that the column is showing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportedData.Column

public ReportedData.Column(String label,
                           String variable,
                           String type)
Creates a new column with the specified definition.

Parameters:
label - the columns's label.
variable - the variable name of the column.
type - the format for the returned data.
Method Detail

getLabel

public String getLabel()
Returns the column's label.

Returns:
label of the column.

getType

public String getType()
Returns the column's data format. Valid formats are:

Returns:
format for the returned data.

getVariable

public String getVariable()
Returns the variable name that the column is showing.

Returns:
the variable name of the column.

Smack

Copyright © 2003-2007 Jive Software.