ru.goodidea.df.dictionary.datasource
Class DistributedTableDescription

java.lang.Object
  extended by ru.goodidea.df.dictionary.datasource.DistributedTableDescription

public class DistributedTableDescription
extends java.lang.Object


Constructor Summary
DistributedTableDescription(IDistributedTableDataSource ds, EntityModel entity, int rowCount)
          Constructor for DistributedTableDescription.
 
Method Summary
 java.lang.Class[] getColumnClasses()
          Returns an array of the column classes.
 int getColumnCount()
          Returns the column count.
 java.lang.String[] getColumnNames()
          Returns an array of the column names.
 EntityModel getEntity()
           
 int getRowCount()
          Returns the row count.
 void resetCount()
           
 void rowCountDecrement()
           
 void rowCountIncrement()
           
 void setEntity(EntityModel entity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedTableDescription

public DistributedTableDescription(IDistributedTableDataSource ds,
                                   EntityModel entity,
                                   int rowCount)
                            throws java.lang.Exception
Constructor for DistributedTableDescription.

Throws:
If - the columnNames or columnClasses array are null or of differing lengths.
java.lang.Exception
Method Detail

getColumnNames

public java.lang.String[] getColumnNames()
Returns an array of the column names.


getColumnClasses

public java.lang.Class[] getColumnClasses()
Returns an array of the column classes.


getEntity

public EntityModel getEntity()

setEntity

public void setEntity(EntityModel entity)

getRowCount

public int getRowCount()
                throws java.lang.Exception
Returns the row count.

Throws:
java.lang.Exception

rowCountIncrement

public void rowCountIncrement()

rowCountDecrement

public void rowCountDecrement()

getColumnCount

public int getColumnCount()
Returns the column count.


resetCount

public void resetCount()


Copyright © 2009. All Rights Reserved.