Class LandmarkType
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 Summary
FieldsModifier and TypeFieldDescriptionprotected AddressInfoTypeThe landmark's address information.protected List<CategoryType> Landmark category.protected CoordinatesTypeThe landmark's coordinates.protected FloatThe coverage radius of the landmark in meters.protected StringThe description of the landmark.protected List<MediaLinkType> A media link associated with this place.protected StringThe name of the landmark. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe landmark's address information.Landmark category.The landmark's coordinates.The coverage radius of the landmark in meters.The description of the landmark.A media link associated with this place.getName()The name of the landmark.voidsetAddressInfo(AddressInfoType value) Sets the value of the addressInfo property.voidsetCoordinates(CoordinatesType value) Sets the value of the coordinates property.voidsetCoverageRadius(Float value) Sets the value of the coverageRadius property.voidsetDescription(String value) Sets the value of the description property.voidSets the value of the name property.
-
Field Details
-
name
The name of the landmark. Optional data, used for displaying purposes. -
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
The landmark's coordinates. -
coverageRadius
The coverage radius of the landmark in meters. The landmark's coordinates are the center of the area this landmark covers. -
addressInfo
The landmark's address information. -
mediaLink
A media link associated with this place. -
category
Landmark category.
-
-
Constructor Details
-
LandmarkType
public LandmarkType()
-
-
Method Details
-
getName
The name of the landmark. 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 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
Sets the value of the description property.- Parameters:
value- allowed object isString- See Also:
-
getCoordinates
The landmark's coordinates.- Returns:
- possible object is
CoordinatesType
-
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
Sets the value of the coverageRadius property.- Parameters:
value- allowed object isFloat- See Also:
-
getAddressInfo
The landmark's address information.- Returns:
- possible object is
AddressInfoType
-
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
setmethod 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
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
setmethod 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.
-