Jagamisviis:


GeoCoordinates Class

  • java.lang.Object
    • com.microsoft.bot.schema.GeoCoordinates

Implements

public class GeoCoordinates
implements EntitySerialization

GeoCoordinates (entity type: "https://schema.org/GeoCoordinates").

Constructor Summary

Constructor Description
GeoCoordinates()

GeoCoordinates of type "GeoCoordinates".

Method Summary

Modifier and Type Method and Description
java.lang.Double getElevation()

Get the elevation value.

double getLatitude()

Get the latitude value.

double getLongitude()

Get the longitude value.

java.lang.String getName()

Get the name value.

java.lang.String getType()

Get the type value.

void setElevation(double withElevation)

Set the elevation value.

void setLatitude(double withLatitude)

Set the latitude value.

void setLongitude(double withLongitude)

Set the longitude value.

void setName(String withName)

Set the name value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

GeoCoordinates

public GeoCoordinates()

GeoCoordinates of type "GeoCoordinates".

Method Details

getElevation

public Double getElevation()

Get the elevation value.

Returns:

the elevation value

getLatitude

public double getLatitude()

Get the latitude value.

Returns:

the latitude value

getLongitude

public double getLongitude()

Get the longitude value.

Returns:

the longitude value

getName

public String getName()

Get the name value.

Returns:

the name value

getType

public String getType()

Get the type value.

Returns:

the type value

setElevation

public void setElevation(double withElevation)

Set the elevation value.

Parameters:

withElevation - the elevation value to set

setLatitude

public void setLatitude(double withLatitude)

Set the latitude value.

Parameters:

withLatitude - the latitude value to set

setLongitude

public void setLongitude(double withLongitude)

Set the longitude value.

Parameters:

withLongitude - the longitude value to set

setName

public void setName(String withName)

Set the name value.

Parameters:

withName - the name value to set

Applies to