org.pentaho.platform.dataaccess.datasource.wizard.models
Class ModelInfo
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
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
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
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
ModelInfo
public ModelInfo()
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()