public class POISearchResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
jniCMemOwn |
protected long |
jniCPtr |
com.ptvag.navigation.sdk.NativeObject |
parent |
Constructor and Description |
---|
POISearchResult()
Constructor
|
POISearchResult(long cPtr,
boolean cMemoryOwn)
Only for internal use - don't try to call this from Java.
|
POISearchResult(long cPtr,
com.ptvag.navigation.sdk.NativeObject parent) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Kills rubbish if owning the object.
|
boolean |
equals(POISearchResult result)
Returns true when the given POISearchResult equals this POISearchResult, otherwise false
The POISearchResult are equal, if their positions and names are identical.
|
protected void |
finalize() |
static long |
getCPtr(com.ptvag.navigation.sdk.NativeObject obj) |
java.lang.String |
getDescription()
Returns a description (optional field.
|
int |
getDistance()
Returns the distance to original position [m].
|
int |
getDistanceLotPointToPOI()
Returns the distance to original position [m].
|
int |
getDistanceStartToLotPoint()
Returns the distance to original position [m].
|
java.lang.String |
getIconName()
Get the name of the icon associated with this POI
|
POISearchKind |
getKind()
Returns the kind of search request.
|
int |
getLayerId()
Returns the id of the corresponding layer.
|
java.lang.String |
getName()
Returns the visible name of the item, to be displayed in a list.
|
Position |
getPos()
Returns the position of address.
|
Position |
getPosLotPoint()
Returns the position of the address lot point.
|
void |
setDescription(java.lang.String description)
Sets a description.
|
void |
setDistance(int distance)
Sets the distance to original position [m].
|
void |
setDistanceLotPointToPOI(int distanceLotPointToPOI)
Sets the distance to original position [m].
|
void |
setDistanceStartToLotPoint(int distanceStartToLotPoint)
Sets the distance to original position [m].
|
void |
setKind(POISearchKind kind)
Sets the kind of search request.
|
void |
setLayerId(int layerId)
Sets the id of the corresponding layer.
|
void |
setName(java.lang.String name)
Sets the visible name of the item, to be displayed in a list.
|
void |
setPos(Position position)
Sets the position of address.
|
void |
setPosLotPoint(Position position)
Sets the position of the address lot point.
|
java.lang.String |
toString() |
protected long jniCPtr
protected boolean jniCMemOwn
public com.ptvag.navigation.sdk.NativeObject parent
public POISearchResult()
public POISearchResult(long cPtr, boolean cMemoryOwn)
public POISearchResult(long cPtr, com.ptvag.navigation.sdk.NativeObject parent)
public POISearchKind getKind()
public void setKind(POISearchKind kind)
kind
- - the kind of search request.public java.lang.String getName()
public void setName(java.lang.String name)
name
- - the visible name of the item, to be displayed in a list.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- - the decription.public Position getPos()
public void setPos(Position position)
position
- - the position of address.public Position getPosLotPoint()
public void setPosLotPoint(Position position)
position
- - the position of the address lot point.public int getDistance()
public void setDistance(int distance)
distance
- - the distance to original position.public int getDistanceStartToLotPoint()
public void setDistanceStartToLotPoint(int distanceStartToLotPoint)
distanceStartToLotPoint
- - the distance to original position.public int getDistanceLotPointToPOI()
public void setDistanceLotPointToPOI(int distanceLotPointToPOI)
distanceLotPointToPOI
- - the distance to original position.public int getLayerId()
public void setLayerId(int layerId)
layerId
- - the id of the corresponding layer.public java.lang.String getIconName()
public boolean equals(POISearchResult result)
result
- - the POISearchresult to compare.public java.lang.String toString()
toString
in class java.lang.Object
public static long getCPtr(com.ptvag.navigation.sdk.NativeObject obj)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void delete()