Package uk.org.siri.siri20
Class VehicleFeature
- java.lang.Object
-
- uk.org.siri.siri20.VehicleFeature
-
- All Implemented Interfaces:
Serializable
public class VehicleFeature extends Object implements Serializable
Type for description of feature of VEHICLE.Java class for VehicleFeaturesStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VehicleFeaturesStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="VehicleFeatureCode" type="{http://www.siri.org.uk/siri}VehicleFeatureCodeType"/> <element name="Name" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded"/> <element name="Icon" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringiconprotected List<NaturalLanguageStringStructure>namesprotected StringvehicleFeatureCode
-
Constructor Summary
Constructors Constructor Description VehicleFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIcon()Gets the value of the icon property.List<NaturalLanguageStringStructure>getNames()Gets the value of the names property.StringgetVehicleFeatureCode()Gets the value of the vehicleFeatureCode property.voidsetIcon(String value)Sets the value of the icon property.voidsetVehicleFeatureCode(String value)Sets the value of the vehicleFeatureCode property.
-
-
-
Field Detail
-
vehicleFeatureCode
protected String vehicleFeatureCode
-
names
protected List<NaturalLanguageStringStructure> names
-
icon
protected String icon
-
-
Method Detail
-
getVehicleFeatureCode
public String getVehicleFeatureCode()
Gets the value of the vehicleFeatureCode property.- Returns:
- possible object is
String
-
setVehicleFeatureCode
public void setVehicleFeatureCode(String value)
Sets the value of the vehicleFeatureCode property.- Parameters:
value- allowed object isString
-
getNames
public List<NaturalLanguageStringStructure> getNames()
Gets the value of the names property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the names property.For example, to add a new item, do as follows:
getNames().add(newItem);Objects of the following type(s) are allowed in the list
NaturalLanguageStringStructure
-
getIcon
public String getIcon()
Gets the value of the icon property.- Returns:
- possible object is
String
-
-