triploa
Class Vehicle
java.lang.Object
triploa.Vehicle
public class Vehicle
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VEHICLE_TAG
public static final java.lang.String VEHICLE_TAG
- See Also:
- Constant Field Values
ID_TAG
public static final java.lang.String ID_TAG
- See Also:
- Constant Field Values
MODEL_TAG
public static final java.lang.String MODEL_TAG
- See Also:
- Constant Field Values
VEHICLE_CLASS_TAG
public static final java.lang.String VEHICLE_CLASS_TAG
- See Also:
- Constant Field Values
FUEL_TAG
public static final java.lang.String FUEL_TAG
- See Also:
- Constant Field Values
CO2_TAG
public static final java.lang.String CO2_TAG
- See Also:
- Constant Field Values
MAX_SEATS_TAG
public static final java.lang.String MAX_SEATS_TAG
- See Also:
- Constant Field Values
create
public static Vehicle create(org.kxml2.io.KXmlParser p)
throws java.io.IOException,
org.xmlpull.v1.XmlPullParserException
- call for getting a new instance of this class from xml
- Parameters:
p
- Parser
- Returns:
- a new instance of FeedBack
- Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException
update
public void update(org.kxml2.io.KXmlParser p)
throws java.io.IOException,
org.xmlpull.v1.XmlPullParserException
- Update this object class from xml parser
- Parameters:
p
- Parser
- Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException
getId
public int getId()
setId
public void setId(int Id)
getModel
public java.lang.String getModel()
setModel
public void setModel(java.lang.String model)
getVehicleClass
public java.lang.String getVehicleClass()
setVehicleClass
public void setVehicleClass(java.lang.String vehicleClass)
getFuel
public java.lang.String getFuel()
setFuel
public void setFuel(java.lang.String fuel)
getCo2
public java.lang.String getCo2()
setCo2
public void setCo2(java.lang.String co2)
getSeats
public int getSeats()