org.gcube.application.reporting.reference
Class DBTableRow

java.lang.Object
  extended by org.gcube.application.reporting.component.AbstractComponent
      extended by org.gcube.application.reporting.reference.DBTableRow
All Implemented Interfaces:
ReportComponent

public class DBTableRow
extends AbstractComponent

Author:
Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it an abstraction over ReportReferences

Field Summary
 
Fields inherited from interface org.gcube.application.reporting.component.interfaces.ReportComponent
COMP_HEIGHT, COMP_WIDTH
 
Constructor Summary
DBTableRow(List<Column> columns)
           
DBTableRow(String id, List<Column> columns)
           
 
Method Summary
 List<ReportComponent> getChildren()
           
 List<Column> getColumns()
           
 int getHeadingLevel()
           
 org.gcube.portlets.d4sreporting.common.shared.BasicComponent getModelComponent()
           
 String getStringValue()
           
 ReportComponentType getType()
           
 boolean hasChildren()
           
 void setColumns(List<Column> columns)
           
 void setHeadingLevel(int level)
           
 
Methods inherited from class org.gcube.application.reporting.component.AbstractComponent
convertProperties, getId, getProperties, setId, setProperties, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBTableRow

public DBTableRow(String id,
                  List<Column> columns)
Parameters:
id - the identifier ia a String value that identifies the DBTableRow
columns - the columns (name, value) to show once selected

DBTableRow

public DBTableRow(List<Column> columns)
Parameters:
metadata - the metadata (attribute, value) to show once selected
Method Detail

getColumns

public List<Column> getColumns()

setColumns

public void setColumns(List<Column> columns)

getHeadingLevel

public int getHeadingLevel()

setHeadingLevel

public void setHeadingLevel(int level)

getType

public ReportComponentType getType()

hasChildren

public boolean hasChildren()
Specified by:
hasChildren in interface ReportComponent
Specified by:
hasChildren in class AbstractComponent

getChildren

public List<ReportComponent> getChildren()
Specified by:
getChildren in interface ReportComponent
Specified by:
getChildren in class AbstractComponent

getStringValue

public String getStringValue()
Specified by:
getStringValue in interface ReportComponent
Specified by:
getStringValue in class AbstractComponent

getModelComponent

public org.gcube.portlets.d4sreporting.common.shared.BasicComponent getModelComponent()
Specified by:
getModelComponent in interface ReportComponent
Specified by:
getModelComponent in class AbstractComponent


Copyright © 2014. All Rights Reserved.