|
|||||||||
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.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 ImportFault
public java.lang.String getCode()
getCode
in interface ImportFault
public int getLevel()
getLevel
in interface ImportFault
public java.lang.Exception getSource()
getSource
in interface ImportFault
public boolean isError()
true
if the fault is an error.
isError
in interface ImportFault
true
if the fault is an errorpublic boolean isWarning()
true
if the fault is a warning.
isWarning
in interface ImportFault
true
if the fault is a warningpublic void setArgs(java.lang.Object[] args)
setArgs
in interface ImportFault
args
- the argumentspublic void setCode(java.lang.String code)
setCode
in interface ImportFault
code
- the fault code to setpublic void setLevel(int level)
setLevel
in interface ImportFault
level
- the level to setpublic void setSource(java.lang.Exception source)
setSource
in interface ImportFault
source
- the fault source to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |