Class Barcode
java.lang.Object
org.openwms.wms.transport.barcode.Barcode
- All Implemented Interfaces:
Serializable
A Barcode is a printable item with a unique identifier to label
TransportUnits. The identifier has a defined number of
characters whereas these characters are aligned either left or right. Non filled positions of a Barcode are padded with a so-called
padding character.- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetValue()Return theBarcodevalue.inthashCode()static BarcodeSimple factory method to replace default constructor in application logic (still needed for framework stuff).voidSet theBarcodevalue.toString()Return the value of theBarcodeas String.
-
Field Details
-
value
'Identifier' of theBarcode.Note:It is not guaranteed that this field must be unique.
-
-
Constructor Details
-
Barcode
protected Barcode()Dear JPA... -
Barcode
-
-
Method Details
-
of
Simple factory method to replace default constructor in application logic (still needed for framework stuff).- Parameters:
value- The value of theBarcodeas String- Returns:
- Formatted Barcode instance
-
getValue
Return theBarcodevalue.- Returns:
- The value of the
Barcode
-
setValue
Set theBarcodevalue.- Parameters:
value- The value to set
-
toString
Return the value of theBarcodeas String. -
equals
-
hashCode
public int hashCode()
-