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 String
validationRegex
public String
charWhitelist
public Boolean
validateCheckDigit
-
Constructor Summary
Constructors Constructor Description VinConfig()
-
Method Summary
Modifier and Type Method Description String
getValidationRegex()
Sets a regular expression which the scanned text needs to match in order to trigger a scan result. void
setValidationRegex(String validationRegex)
Sets a regular expression which the scanned text needs to match in order to trigger a scan result. String
getCharWhitelist()
Restricts the scanner to a set of characters to be detected. void
setCharWhitelist(String charWhitelist)
Restricts the scanner to a set of characters to be detected. Boolean
getValidateCheckDigit()
Setting this to 'true' will enforce checking the check digit and only return results if it is correct. void
setValidateCheckDigit(Boolean validateCheckDigit)
Setting this to 'true' will enforce checking the check digit and only return results if it is correct. String
toString()
int
hashCode()
boolean
equals(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()
-
-
-
-