|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.impl.AbstractTransientImpl
com.elasticpath.domain.dataimport.impl.ImportFaultImpl
public class ImportFaultImpl
Represents a default implementation of ImportFault.
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serial version id. |
| Fields inherited from interface com.elasticpath.domain.dataimport.ImportFault |
|---|
ERROR, WARNING |
| Constructor Summary | |
|---|---|
ImportFaultImpl()
|
|
| Method Summary | |
|---|---|
java.lang.Object[] |
getArgs()
Returns the arguments for fault code. |
java.lang.String |
getCode()
Returns the fault code. |
int |
getLevel()
Returns the level. |
java.lang.Exception |
getSource()
Returns the fault source. |
boolean |
isError()
Returns true if the fault is an error. |
boolean |
isWarning()
Returns true if the fault is a warning. |
void |
setArgs(java.lang.Object[] args)
Sets the arguments for fault code. |
void |
setCode(java.lang.String code)
Sets the fault code. |
void |
setLevel(int level)
Sets the level. |
void |
setSource(java.lang.Exception source)
Sets the fault source. |
| 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 ImportFaultImpl()
| Method Detail |
|---|
public java.lang.Object[] getArgs()
getArgs in interface ImportFaultpublic java.lang.String getCode()
getCode in interface ImportFaultpublic int getLevel()
getLevel in interface ImportFaultpublic java.lang.Exception getSource()
getSource in interface ImportFaultpublic boolean isError()
true if the fault is an error.
isError in interface ImportFaulttrue if the fault is an errorpublic boolean isWarning()
true if the fault is a warning.
isWarning in interface ImportFaulttrue if the fault is a warningpublic void setArgs(java.lang.Object[] args)
setArgs in interface ImportFaultargs - the argumentspublic void setCode(java.lang.String code)
setCode in interface ImportFaultcode - the fault code to setpublic void setLevel(int level)
setLevel in interface ImportFaultlevel - the level to setpublic void setSource(java.lang.Exception source)
setSource in interface ImportFaultsource - the fault source to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||