; | ; | ||||
private String value; | private String value; | ||||
private int Code; | |||||
private int code; | |||||
private VehicleType(String value, int code) { | |||||
VehicleType(String value, int code) { | |||||
this.value = value; | this.value = value; | ||||
this.Code = code; | |||||
this.code = code; | |||||
} | } | ||||
public String getValue() { | public String getValue() { | ||||
public int getCode() { | public int getCode() { | ||||
return Code; | |||||
return code; | |||||
} | } | ||||
public static VehicleType valueOfCode(int code) { | public static VehicleType valueOfCode(int code) { |