Package io.anyline.plugin.result
Class TinResult
-
- All Implemented Interfaces:
public class TinResult
Describes result information of scanning tire identification numbers (TIN)
-
-
Field Summary
Fields Modifier and Type Field Description public String
text
public String
productionDate
public Integer
tireAgeInYearsRoundedDown
public String
resultPrettified
-
Constructor Summary
Constructors Constructor Description TinResult()
-
Method Summary
Modifier and Type Method Description String
getText()
The TIN text value. void
setText(String text)
The TIN text value. String
getProductionDate()
The production date on the TIN reformatted to YYYY/MM. void
setProductionDate(String productionDate)
The production date on the TIN reformatted to YYYY/MM. Integer
getTireAgeInYearsRoundedDown()
The computed tire age in years rounded down. void
setTireAgeInYearsRoundedDown(Integer tireAgeInYearsRoundedDown)
The computed tire age in years rounded down. String
getResultPrettified()
The TIN text split by context with spaces as delimiter. void
setResultPrettified(String resultPrettified)
The TIN text split by context with spaces as delimiter. String
toString()
int
hashCode()
boolean
equals(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()
-
-
-
-