目录

ChildrenNode

Class Info

public class ChildrenNode

Represents information about child nodes of a POI.

Public Constructor Summary

Constructor Name

ChildrenNode()

Default constructor.

Public Method Summary

Qualifier and Type

Method Name and Description

String

getDepAndArr()

Checks whether an airport terminal is a departure terminal, arrival terminal, or both.

String

getDomeAndInt()

Checks whether an airport terminal is a national terminal, international terminal, or both.

String

getFormatAddress()

Obtains the formatted detailed address of a place.

String[]

getHwPoiTypes()

Obtains the Huawei POI type of a place.

Coordinate

getLocation()

Obtains the longitude and latitude of a place.

String

getName()

Obtains the name of a place.

String

getSiteId()

Obtains the ID of a place.

void

setDepAndArr(String depAndArr)

Sets whether an airport terminal is a departure terminal, arrival terminal, or both.

void

setDomeAndInt(String domeAndInt)

Sets whether an airport terminal is a national terminal, international terminal, or both.

void

setFormatAddress(String formatAddress)

Sets the formatted detailed address of a place.

void

setHwPoiTypes(String[] hwPoiTypes)

Sets the Huawei POI type of a place.

void

setLocation(Coordinate location)

Sets the longitude and latitude of a place.

void

setName(String name)

Sets the name of a place.

void

setSiteId(String siteId)

Sets the ID of a place.

Public Methods

[h2]getDepAndArr

Method

public String getDepAndArr()

Checks whether an airport terminal is a departure terminal, arrival terminal, or both

Returns

Type

Description

String

Whether an airport terminal is a departure terminal, arrival terminal, or both. The options are as follows:

  • 1: departure
  • 2: arrival
  • 3: departure and arrival

[h2]getDomeAndInt

Method

public String getDomeAndInt()

Checks whether an airport terminal is a national terminal, international terminal, or both.

Returns

Type

Description

String

Whether an airport terminal is a national terminal, international terminal, or both. The options are as follows:

  • 1: national
  • 2: international
  • 3: national and international

[h2]getFormatAddress

Method

public String getFormatAddress()

Obtains the formatted detailed address of a place.

Returns

Type

Description

String

Formatted detailed address of a place.

[h2]getHwPoiTypes

Method

public String[] getHwPoiTypes()

Obtains the Huawei POI type of a place.

Returns

Type

Description

String[]

Huawei POI type.

[h2]getLocation

Method

public Coordinate getLocation()

Obtains the longitude and latitude of a place.

Returns

Type

Description

Coordinate

Longitude and latitude of a place.

[h2]getName

Method

public String getName()

Obtains the name of a place.

Returns

Type

Description

String

Name of a place.

[h2]getSiteId

Method

public String getSiteId()

Obtains the ID of a place.

Returns

Type

Description

String

ID of a place.

[h2]setDepAndArr

Method

public void setDepAndArr(String depAndArr)

Sets whether an airport terminal is a departure terminal, arrival terminal, or both.

Parameters

Name

Description

depAndArr

Whether an airport terminal is a departure terminal, arrival terminal, or both. The options are as follows:

  • 1: departure
  • 2: arrival
  • 3: departure and arrival

[h2]setDomeAndInt

Method

public void setDomeAndInt(String domeAndInt)

Sets whether an airport terminal is a national terminal, international terminal, or both.

Parameters

Name

Description

domeAndInt

Whether an airport terminal is a national terminal, international terminal, or both. The options are as follows:

  • 1: national
  • 2: international
  • 3: national and international

[h2]setFormatAddress

Method

public void setFormatAddress(String formatAddress)

Sets the formatted detailed address of a place.

Parameters

Name

Description

formatAddress

Formatted detailed address of a place.

[h2]setHwPoiTypes

Method

public void setHwPoiTypes(String[] hwPoiTypes)

Sets the Huawei POI type of a place.

Parameters

Name

Description

hwPoiTypes

Huawei POI type.

[h2]setLocation

Method

public void setLocation(Coordinate location)

Sets the longitude and latitude of a place.

Parameters

Name

Description

location

Longitude and latitude of a place.

[h2]setName

Method

public void setName(String name)

Sets the name of a place.

Parameters

Name

Description

name

Name of a place.

[h2]setSiteId

Method

public void setSiteId(String siteId)

Sets the ID of a place.

Parameters

Name

Description

siteId

ID of a place.