Package uk.org.siri.siri21
Class TypeOfVehicleFuelStructure
- java.lang.Object
-
- uk.org.siri.siri21.TypeOfVehicleFuelStructure
-
- All Implemented Interfaces:
Serializable
public class TypeOfVehicleFuelStructure extends Object implements Serializable
Classification of vehicle energy type. See Transmodel TypeOfFuel. +SIRI v2.1Java class for TypeOfVehicleFuelStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TypeOfVehicleFuelStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="TypeOfFuel" type="{http://www.siri.org.uk/siri}TypeOfFuelEnumeration"/> <element name="OtherTypeOfFuel" type="{http://www.siri.org.uk/siri}TypeOfValueStructure" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected TypeOfValueotherTypeOfFuelprotected TypeOfFuelEnumerationtypeOfFuel
-
Constructor Summary
Constructors Constructor Description TypeOfVehicleFuelStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeOfValuegetOtherTypeOfFuel()Gets the value of the otherTypeOfFuel property.TypeOfFuelEnumerationgetTypeOfFuel()Gets the value of the typeOfFuel property.voidsetOtherTypeOfFuel(TypeOfValue value)Sets the value of the otherTypeOfFuel property.voidsetTypeOfFuel(TypeOfFuelEnumeration value)Sets the value of the typeOfFuel property.
-
-
-
Field Detail
-
typeOfFuel
protected TypeOfFuelEnumeration typeOfFuel
-
otherTypeOfFuel
protected TypeOfValue otherTypeOfFuel
-
-
Method Detail
-
getTypeOfFuel
public TypeOfFuelEnumeration getTypeOfFuel()
Gets the value of the typeOfFuel property.- Returns:
- possible object is
TypeOfFuelEnumeration
-
setTypeOfFuel
public void setTypeOfFuel(TypeOfFuelEnumeration value)
Sets the value of the typeOfFuel property.- Parameters:
value- allowed object isTypeOfFuelEnumeration
-
getOtherTypeOfFuel
public TypeOfValue getOtherTypeOfFuel()
Gets the value of the otherTypeOfFuel property.- Returns:
- possible object is
TypeOfValue
-
setOtherTypeOfFuel
public void setOtherTypeOfFuel(TypeOfValue value)
Sets the value of the otherTypeOfFuel property.- Parameters:
value- allowed object isTypeOfValue
-
-