Class LandmarkCollectionType

java.lang.Object
slash.navigation.lmx.binding.LandmarkCollectionType

public class LandmarkCollectionType extends Object
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 Details

    • name

      protected String name
      The name of the collection. Optional data, used for displaying purposes.
    • description

      protected String 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

      protected List<LandmarkType> landmark
      A landmark.
  • Constructor Details

    • LandmarkCollectionType

      public LandmarkCollectionType()
  • Method Details

    • getName

      public String getName()
      The name of the collection. Optional data, used for displaying purposes.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
      See Also:
    • getDescription

      public String 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

      public void setDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
      See Also:
    • getLandmark

      public List<LandmarkType> 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 set method 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.