org.pentaho.platform.dataaccess.datasource.wizard.models
Class ModelInfo

java.lang.Object
  extended by org.pentaho.ui.xul.XulEventSourceAdapter
      extended by org.pentaho.platform.dataaccess.datasource.wizard.models.ModelInfo
All Implemented Interfaces:
Serializable, org.pentaho.ui.xul.XulEventSource

public class ModelInfo
extends org.pentaho.ui.xul.XulEventSourceAdapter
implements Serializable

See Also:
Serialized Form

Field Summary
static String CSV_COLUMN_INFO_ATTRIBUTE
           
static String CSV_FILE_INFO_ATTRIBUTE
           
static String STAGE_TABLE_NAME_ATTRIBUTE
           
 
Constructor Summary
ModelInfo()
           
 
Method Summary
 void addModelInfoValidationListener(IModelInfoValidationListener listener)
           
 void clearModel()
           
 boolean equals(Object obj)
           
 ColumnInfo[] getColumns()
           
 long getCsvInputErrorCount()
           
 ArrayList<String> getCsvInputErrors()
           
 DataRow[] getData()
           
 CsvFileInfo getFileInfo()
           
 String getStageTableName()
           
 long getTableOutputErrorCount()
           
 ArrayList<String> getTableOutputErrors()
           
 FileTransformStats getTransformStats()
           
 int hashCode()
           
 boolean isValidated()
           
 void setColumns(ColumnInfo[] columns)
           
 void setCsvInputErrorCount(long csvInputErrorCount)
           
 void setCsvInputErrors(ArrayList<String> csvInputErrors)
           
 void setData(DataRow[] data)
           
 void setFileInfo(CsvFileInfo fileInfo)
           
 void setStageTableName(String tableName)
           
 void setTableOutputErrorCount(long tableOutputErrorCount)
           
 void setTableOutputErrors(ArrayList<String> tableOutputErrors)
           
 void validate()
           
 
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CSV_FILE_INFO_ATTRIBUTE

public static final String CSV_FILE_INFO_ATTRIBUTE
See Also:
Constant Field Values

CSV_COLUMN_INFO_ATTRIBUTE

public static final String CSV_COLUMN_INFO_ATTRIBUTE
See Also:
Constant Field Values

STAGE_TABLE_NAME_ATTRIBUTE

public static final String STAGE_TABLE_NAME_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

ModelInfo

public ModelInfo()
Method Detail

getFileInfo

public CsvFileInfo getFileInfo()

setFileInfo

public void setFileInfo(CsvFileInfo fileInfo)

getColumns

public ColumnInfo[] getColumns()

setColumns

public void setColumns(ColumnInfo[] columns)

getData

public DataRow[] getData()

setData

public void setData(DataRow[] data)

getStageTableName

public String getStageTableName()

setStageTableName

public void setStageTableName(String tableName)

getCsvInputErrors

public ArrayList<String> getCsvInputErrors()

setCsvInputErrors

public void setCsvInputErrors(ArrayList<String> csvInputErrors)

getTableOutputErrors

public ArrayList<String> getTableOutputErrors()

setTableOutputErrors

public void setTableOutputErrors(ArrayList<String> tableOutputErrors)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

validate

public void validate()

isValidated

public boolean isValidated()

clearModel

public void clearModel()

addModelInfoValidationListener

public void addModelInfoValidationListener(IModelInfoValidationListener listener)

getTableOutputErrorCount

public long getTableOutputErrorCount()

setTableOutputErrorCount

public void setTableOutputErrorCount(long tableOutputErrorCount)

getCsvInputErrorCount

public long getCsvInputErrorCount()

setCsvInputErrorCount

public void setCsvInputErrorCount(long csvInputErrorCount)

getTransformStats

public FileTransformStats getTransformStats()