Class LegVariableAxles
- java.lang.Object
-
- global.maplink.trip.schema.v2.problem.LegVariableAxles
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLegVariableAxles.LegVariableAxlesBuilder
-
Constructor Summary
Constructors Constructor Description LegVariableAxles()LegVariableAxles(String fromSiteId, String toSiteId, TollVehicleType newVehicleType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LegVariableAxles.LegVariableAxlesBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetFromSiteId()TollVehicleTypegetNewVehicleType()StringgetToSiteId()inthashCode()voidsetFromSiteId(String fromSiteId)voidsetNewVehicleType(TollVehicleType newVehicleType)voidsetToSiteId(String toSiteId)StringtoString()List<ValidationViolation>validate()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface global.maplink.validations.Validable
throwIfInvalid
-
-
-
-
Constructor Detail
-
LegVariableAxles
public LegVariableAxles()
-
LegVariableAxles
public LegVariableAxles(String fromSiteId, String toSiteId, TollVehicleType newVehicleType)
-
-
Method Detail
-
validate
public List<ValidationViolation> validate()
-
builder
public static LegVariableAxles.LegVariableAxlesBuilder builder()
-
getFromSiteId
public String getFromSiteId()
-
getToSiteId
public String getToSiteId()
-
getNewVehicleType
public TollVehicleType getNewVehicleType()
-
setFromSiteId
public void setFromSiteId(String fromSiteId)
-
setToSiteId
public void setToSiteId(String toSiteId)
-
setNewVehicleType
public void setNewVehicleType(TollVehicleType newVehicleType)
-
canEqual
protected boolean canEqual(Object other)
-
-