Class LandmarkType

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

public class LandmarkType extends Object
The landmark type. The landmark is a point on map or place in the world, which position is defined by coordinates. The landmarks may belong to a set of landmark categories. It also may have additional address information of the place this landmark points to. The landmark also may have additional information, like description, coverage radius and a list of media links.

Java class for landmarkType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="landmarkType">
   <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="coordinates" type="{http://www.nokia.com/schemas/location/landmarks/1/0}coordinatesType" minOccurs="0"/>
         <element name="coverageRadius" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}float">
               <minInclusive value="0"/>
             </restriction>
           </simpleType>
         </element>
         <element name="addressInfo" type="{http://www.nokia.com/schemas/location/landmarks/1/0}addressInfoType" minOccurs="0"/>
         <element name="mediaLink" type="{http://www.nokia.com/schemas/location/landmarks/1/0}mediaLinkType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="category" type="{http://www.nokia.com/schemas/location/landmarks/1/0}categoryType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • name

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

      protected String description
      The description of the landmark. Optional data, used for displaying purposes. Usually it's more detailed than name or provides some additional information about the landmark.
    • coordinates

      protected CoordinatesType coordinates
      The landmark's coordinates.
    • coverageRadius

      protected Float coverageRadius
      The coverage radius of the landmark in meters. The landmark's coordinates are the center of the area this landmark covers.
    • addressInfo

      protected AddressInfoType addressInfo
      The landmark's address information.
    • category

      protected List<CategoryType> category
      Landmark category.
  • Constructor Details

    • LandmarkType

      public LandmarkType()
  • Method Details

    • getName

      public String getName()
      The name of the landmark. 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 landmark. Optional data, used for displaying purposes. Usually it's more detailed than name or provides some additional information about the landmark.
      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:
    • getCoordinates

      public CoordinatesType getCoordinates()
      The landmark's coordinates.
      Returns:
      possible object is CoordinatesType
    • setCoordinates

      public void setCoordinates(CoordinatesType value)
      Sets the value of the coordinates property.
      Parameters:
      value - allowed object is CoordinatesType
      See Also:
    • getCoverageRadius

      public Float getCoverageRadius()
      The coverage radius of the landmark in meters. The landmark's coordinates are the center of the area this landmark covers.
      Returns:
      possible object is Float
    • setCoverageRadius

      public void setCoverageRadius(Float value)
      Sets the value of the coverageRadius property.
      Parameters:
      value - allowed object is Float
      See Also:
    • getAddressInfo

      public AddressInfoType getAddressInfo()
      The landmark's address information.
      Returns:
      possible object is AddressInfoType
    • setAddressInfo

      public void setAddressInfo(AddressInfoType value)
      Sets the value of the addressInfo property.
      Parameters:
      value - allowed object is AddressInfoType
      See Also:
    • getMediaLink

      public List<MediaLinkType> getMediaLink()
      A media link associated with this place. Gets the value of the mediaLink 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 mediaLink property.

      For example, to add a new item, do as follows:

       getMediaLink().add(newItem);
       

      Objects of the following type(s) are allowed in the list MediaLinkType

      Returns:
      The value of the mediaLink property.
    • getCategory

      public List<CategoryType> getCategory()
      Landmark category. Gets the value of the category 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 category property.

      For example, to add a new item, do as follows:

       getCategory().add(newItem);
       

      Objects of the following type(s) are allowed in the list CategoryType

      Returns:
      The value of the category property.