Package org.openwms.common.transport
Class UnitError
java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.ameba.integration.jpa.ApplicationEntity
org.openwms.common.transport.UnitError
- All Implemented Interfaces:
Serializable,org.ameba.integration.TypedEntity<Long>
@Entity
public class UnitError
extends org.ameba.integration.jpa.ApplicationEntity
implements Serializable
An UnitError represents an error occurring on a
TransportUnit.- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classUnitErrorbuilder static inner class. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringError number.private StringError message text.(package private) static final StringSeparator to use in toString method.private TransportUnitFields inherited from class org.ameba.integration.jpa.ApplicationEntity
C_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static UnitError.Builder(package private) voidsetTransportUnit(TransportUnit transportUnit) Set the TransportUnit for this error.toString()Methods inherited from class org.ameba.integration.jpa.ApplicationEntity
getPersistentKey, hasPersistentKey, onEntityPersist, onPersist, setPersistentKeyMethods inherited from class org.ameba.integration.jpa.BaseEntity
getCreatedBy, getCreateDt, getLastModifiedBy, getLastModifiedDt, getOl, getPk, isNew, setCreatedBy, setCreateDt, setLastModifiedBy, setLastModifiedDt, setOl
-
Field Details
-
SEPARATOR
Separator to use in toString method.- See Also:
-
errorNo
Error number. -
errorText
Error message text. -
transportUnit
-
-
Constructor Details
-
UnitError
protected UnitError()Dear JPA... -
UnitError
-
-
Method Details
-
newBuilder
-
getErrorNo
-
getErrorText
-
setTransportUnit
Set the TransportUnit for this error.- Parameters:
transportUnit- The TransportUnit instance
-
getTransportUnit
-
equals
- Overrides:
equalsin classorg.ameba.integration.jpa.ApplicationEntity
-
hashCode
public int hashCode()- Overrides:
hashCodein classorg.ameba.integration.jpa.ApplicationEntity
-
toString
-