org.gcube.portlets.user.td.gwtservice.shared.csv
Class CSVRowError

java.lang.Object
  extended by org.gcube.portlets.user.td.gwtservice.shared.csv.CSVRowError
All Implemented Interfaces:
Serializable

public class CSVRowError
extends Object
implements Serializable

An error for a row in the CSV.

Author:
Federico De Faveri defaveri@isti.cnr.it
See Also:
Serialized Form

Field Summary
protected  String errorDescription
           
protected  int id
           
protected  int lineNumber
           
protected  String lineValue
           
protected static int seed
           
 
Constructor Summary
CSVRowError()
           
CSVRowError(int lineNumber, String lineValue, String errorDescription)
           
 
Method Summary
 String getErrorDescription()
           
 int getId()
           
 int getLineNumber()
           
 String getLineValue()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

seed

protected static int seed

id

protected int id

lineNumber

protected int lineNumber

lineValue

protected String lineValue

errorDescription

protected String errorDescription
Constructor Detail

CSVRowError

public CSVRowError()

CSVRowError

public CSVRowError(int lineNumber,
                   String lineValue,
                   String errorDescription)
Parameters:
lineNumber - the row number.
lineValue - the line value.
errorDescription - the error description.
Method Detail

getId

public int getId()
Returns:
the id

getLineNumber

public int getLineNumber()
Returns:
the lineNumber

getLineValue

public String getLineValue()
Returns:
the line value

getErrorDescription

public String getErrorDescription()
Returns:
the error description.

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.