Package io.anyline.plugin.config
Class VinConfig
-
- All Implemented Interfaces:
-
java.io.Serializable
public class VinConfig implements Serializable
Configuration for scanning vehicle identification numbers (VIN)
-
-
Field Summary
Fields Modifier and Type Field Description public StringvalidationRegexpublic StringcharWhitelistpublic BooleanvalidateCheckDigit
-
Constructor Summary
Constructors Constructor Description VinConfig()
-
Method Summary
Modifier and Type Method Description StringgetValidationRegex()Sets a regular expression which the scanned text needs to match in order to trigger a scan result. voidsetValidationRegex(String validationRegex)Sets a regular expression which the scanned text needs to match in order to trigger a scan result. StringgetCharWhitelist()Restricts the scanner to a set of characters to be detected. voidsetCharWhitelist(String charWhitelist)Restricts the scanner to a set of characters to be detected. BooleangetValidateCheckDigit()Setting this to 'true' will enforce checking the check digit and only return results if it is correct. voidsetValidateCheckDigit(Boolean validateCheckDigit)Setting this to 'true' will enforce checking the check digit and only return results if it is correct. StringtoString()inthashCode()booleanequals(Object other)-
-
Method Detail
-
getValidationRegex
String getValidationRegex()
Sets a regular expression which the scanned text needs to match in order to trigger a scan result.
-
setValidationRegex
void setValidationRegex(String validationRegex)
Sets a regular expression which the scanned text needs to match in order to trigger a scan result.
-
getCharWhitelist
String getCharWhitelist()
Restricts the scanner to a set of characters to be detected.
-
setCharWhitelist
void setCharWhitelist(String charWhitelist)
Restricts the scanner to a set of characters to be detected.
-
getValidateCheckDigit
Boolean getValidateCheckDigit()
Setting this to 'true' will enforce checking the check digit and only return results if it is correct.
-
setValidateCheckDigit
void setValidateCheckDigit(Boolean validateCheckDigit)
Setting this to 'true' will enforce checking the check digit and only return results if it is correct.
-
hashCode
int hashCode()
-
-
-
-