|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openwms.core.domain.AbstractEntity
org.openwms.common.domain.system.UnitError
public class UnitError
An UnitError represents an error occurring on TransportUnit
s, on
LoadUnit
s or others.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.openwms.core.domain.AbstractEntity |
---|
AbstractEntity.AbstractEntityListener |
Field Summary |
---|
Fields inherited from class org.openwms.core.domain.AbstractEntity |
---|
FIND_ALL, FIND_BY_ID |
Constructor Summary | |
---|---|
UnitError()
Create a new UnitError . |
|
UnitError(String errorNo)
Create a new UnitError with an error number. |
Method Summary | |
---|---|
String |
getErrorNo()
Return the error number. |
String |
getErrorText()
Return the error text. |
Long |
getId()
Return the technical key value. |
long |
getVersion()
Return the value of the optimistic locking field. |
boolean |
isNew()
Check whether the instance is a transient or persisted one. |
void |
setErrorNo(String errorNo)
Set the error number. |
void |
setErrorText(String errorText)
Set the error text. |
Methods inherited from class org.openwms.core.domain.AbstractEntity |
---|
equals, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnitError()
UnitError
.
public UnitError(String errorNo)
UnitError
with an error number.
errorNo
- The error numberMethod Detail |
---|
public Long getId()
getId
in interface DomainObject<Long>
public boolean isNew()
isNew
in interface DomainObject<Long>
true
if transient (not persisted before), otherwise
false
public String getErrorNo()
public void setErrorNo(String errorNo)
errorNo
- The errorNo to set.public String getErrorText()
public void setErrorText(String errorText)
errorText
- The errorText to set.public long getVersion()
getVersion
in interface DomainObject<Long>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |