Class LgtinMatcher
java.lang.Object
com.persequor.extension.eventservice.LgtinMatcher
- All Implemented Interfaces:
IBatchMatcher
Recognizes EPC class as a batch if it follows the GTIN + Batch/Lot scheme.
Based on EPC Tag Data Standard v1.13, chapter 6.4.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isKnownToBeBatch
(String epcClass) Returns true if the given EPC class is a batch, e.g.
-
Constructor Details
-
LgtinMatcher
public LgtinMatcher()
-
-
Method Details
-
isKnownToBeBatch
Description copied from interface:IBatchMatcher
Returns true if the given EPC class is a batch, e.g. it is used limited number of times. Be careful when implementing this interface, you probably will have to reindex all events. For more information consult documentation on PSQR Portal.If your implementation throws an exception, Saga will log this and assume you returned false.
- Specified by:
isKnownToBeBatch
in interfaceIBatchMatcher
- Parameters:
epcClass
- the EPC class to evaluate- Returns:
- true if the given EPC class is a batch, otherwise false
-