Package slash.navigation.lmx.binding
Class LandmarkCollectionType
java.lang.Object
slash.navigation.lmx.binding.LandmarkCollectionType
The landmark collection type. The landmark collection includes a set of landmarks. At
least one landmark is required. The landmark collection may have name and description, which both are
mostly intended for displaying purposes.
Java class for landmarkCollectionType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="landmarkCollectionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="landmark" type="{http://www.nokia.com/schemas/location/landmarks/1/0}landmarkType" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe description of the collection.protected List<LandmarkType> A landmark.protected StringThe name of the collection. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe description of the collection.A landmark.getName()The name of the collection.voidsetDescription(String value) Sets the value of the description property.voidSets the value of the name property.
-
Field Details
-
name
The name of the collection. Optional data, used for displaying purposes. -
description
The description of the collection. Optional data, used for displaying purposes. Usually it's more detailed than name or provides some additional information about the collection. -
landmark
A landmark.
-
-
Constructor Details
-
LandmarkCollectionType
public LandmarkCollectionType()
-
-
Method Details
-
getName
The name of the collection. Optional data, used for displaying purposes.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString- See Also:
-
getDescription
The description of the collection. Optional data, used for displaying purposes. Usually it's more detailed than name or provides some additional information about the collection.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString- See Also:
-
getLandmark
A landmark. Gets the value of the landmark 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 Jakarta XML Binding object. This is why there is not a
setmethod for the landmark property.For example, to add a new item, do as follows:
getLandmark().add(newItem);
Objects of the following type(s) are allowed in the list
LandmarkType- Returns:
- The value of the landmark property.
-