Package org.jivesoftware.smackx.search
Class ReportedData.Column
- java.lang.Object
-
- org.jivesoftware.smackx.search.ReportedData.Column
-
- Enclosing class:
- ReportedData
public static class ReportedData.Column extends Object
Represents the columns definition of the reported data.
-
-
Constructor Summary
Constructors Constructor Description Column(String label, String variable, FormField.Type type)Creates a new column with the specified definition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()Returns the column's label.FormField.TypegetType()Returns the column's data format.StringgetVariable()Returns the variable name that the column is showing.
-
-
-
Constructor Detail
-
Column
public Column(String label, String variable, FormField.Type 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
-
getType
public FormField.Type getType()
Returns the column's data format.- 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.
-
-