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 java.lang.Object

Represents the columns definition of the reported data.

Author:
Gaston Dombiak

Constructor Summary
ReportedData.Column(java.lang.String label, java.lang.String variable, java.lang.String type)
          Creates a new column with the specified definition.
 
Method Summary
 java.lang.String getLabel()
          Returns the column's label.
 java.lang.String getType()
          Returns the column's data format.
 java.lang.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(java.lang.String label,
                           java.lang.String variable,
                           java.lang.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 java.lang.String getLabel()
Returns the column's label.

Returns:
label of the column.

getType

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

Returns:
format for the returned data.

getVariable

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

Returns:
the variable name of the column.

Smack

Copyright © 2003-2007 Jive Software.