Package io.anyline.plugin.result
Class TinResult
-
- All Implemented Interfaces:
public class TinResultDescribes result information of scanning tire identification numbers (TIN)
-
-
Field Summary
Fields Modifier and Type Field Description public Stringtextpublic StringproductionDatepublic IntegertireAgeInYearsRoundedDownpublic StringresultPrettified
-
Constructor Summary
Constructors Constructor Description TinResult()
-
Method Summary
Modifier and Type Method Description StringgetText()The TIN text value. voidsetText(String text)The TIN text value. StringgetProductionDate()The production date on the TIN reformatted to YYYY/MM. voidsetProductionDate(String productionDate)The production date on the TIN reformatted to YYYY/MM. IntegergetTireAgeInYearsRoundedDown()The computed tire age in years rounded down. voidsetTireAgeInYearsRoundedDown(Integer tireAgeInYearsRoundedDown)The computed tire age in years rounded down. StringgetResultPrettified()The TIN text split by context with spaces as delimiter. voidsetResultPrettified(String resultPrettified)The TIN text split by context with spaces as delimiter. StringtoString()inthashCode()booleanequals(Object other)-
-
Method Detail
-
getProductionDate
String getProductionDate()
The production date on the TIN reformatted to YYYY/MM.
-
setProductionDate
void setProductionDate(String productionDate)
The production date on the TIN reformatted to YYYY/MM.
-
getTireAgeInYearsRoundedDown
Integer getTireAgeInYearsRoundedDown()
The computed tire age in years rounded down.
-
setTireAgeInYearsRoundedDown
void setTireAgeInYearsRoundedDown(Integer tireAgeInYearsRoundedDown)
The computed tire age in years rounded down.
-
getResultPrettified
String getResultPrettified()
The TIN text split by context with spaces as delimiter.
-
setResultPrettified
void setResultPrettified(String resultPrettified)
The TIN text split by context with spaces as delimiter.
-
hashCode
int hashCode()
-
-
-
-