|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.domain.impl.AbstractEpDomainImpl com.elasticpath.domain.dataimport.impl.ImportBadRowImpl
public class ImportBadRowImpl
Represents an import bad row.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Constructor Summary | |
---|---|
ImportBadRowImpl()
|
Method Summary | |
---|---|
void |
addImportFault(ImportFault importFault)
Add the error message to the list. |
java.util.List |
getImportErrors()
Returns a list of error messages. |
java.util.List |
getImportFaults()
Returns a list of error message. |
java.lang.String |
getRow()
Returns the row that caused error. |
int |
getRowAreaEndNumber()
Returns the row area end number(open). |
int |
getRowAreaStartNumber()
Returns the row area start number(close). |
int |
getRowNumber()
Returns the row number that caused error. |
void |
setImportFaults(java.util.List importFaults)
Sets a list of error messages. |
void |
setRow(java.lang.String row)
Set the row. |
void |
setRowArea(int startRowNumber,
int endRowNumber)
Sets the row area in which the bad row is in. |
void |
setRowNumber(int rowNumber)
Set the row number that caused error. |
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public ImportBadRowImpl()
Method Detail |
---|
public void addImportFault(ImportFault importFault)
addImportFault
in interface ImportBadRow
importFault
- the error messagepublic java.util.List getImportErrors()
getImportErrors
in interface ImportBadRow
public java.util.List getImportFaults()
getImportFaults
in interface ImportBadRow
public java.lang.String getRow()
getRow
in interface ImportBadRow
public int getRowAreaEndNumber()
getRowAreaEndNumber
in interface ImportBadRow
public int getRowAreaStartNumber()
getRowAreaStartNumber
in interface ImportBadRow
public int getRowNumber()
getRowNumber
in interface ImportBadRow
public void setImportFaults(java.util.List importFaults)
setImportFaults
in interface ImportBadRow
importFaults
- the list of error messages to setpublic void setRow(java.lang.String row)
setRow
in interface ImportBadRow
row
- the row to setpublic void setRowArea(int startRowNumber, int endRowNumber)
setRowArea
in interface ImportBadRow
startRowNumber
- the start row number of the row area(close)endRowNumber
- the end row number of the row area(open)public void setRowNumber(int rowNumber)
setRowNumber
in interface ImportBadRow
rowNumber
- the row number that caused error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |