public class Address
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 |
---|
Address()
Constructor
|
Address(long cPtr,
boolean cMemoryOwn)
Only for internal use - don't try to call this from Java.
|
Address(java.lang.String cc,
java.lang.String town,
java.lang.String street,
java.lang.String hnr) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Kills rubbish if owning the object.
|
protected void |
finalize() |
java.lang.String |
getCc()
Returns the country code.
|
static long |
getCPtr(com.ptvag.navigation.sdk.NativeObject obj) |
java.lang.String |
getHnr()
Returns the house number.
|
java.lang.String |
getPostcode()
Returns the postcode of address.
|
java.lang.String |
getStreet()
Returns the name of the street.
|
java.lang.String |
getTown()
Returns the name of the town.
|
void |
setCc(java.lang.String cc)
Sets the country code.
|
void |
setHnr(java.lang.String hnr)
Sets the house number.
|
void |
setPostcode(java.lang.String postcode)
Sets the postcode of address.
|
void |
setStreet(java.lang.String street)
Sets the name of the street.
|
void |
setTown(java.lang.String town)
Sets the name of the town.
|
java.lang.String |
toString() |
protected long jniCPtr
protected boolean jniCMemOwn
public com.ptvag.navigation.sdk.NativeObject parent
public Address()
public Address(java.lang.String cc, java.lang.String town, java.lang.String street, java.lang.String hnr)
public Address(long cPtr, boolean cMemoryOwn)
public java.lang.String getCc()
public void setCc(java.lang.String cc)
cc
- - the country code.public java.lang.String getPostcode()
public void setPostcode(java.lang.String postcode)
postcode
- - the postcode of address.public java.lang.String getTown()
public void setTown(java.lang.String town)
town
- - the name of the town.public java.lang.String getStreet()
public void setStreet(java.lang.String street)
street
- - the name of the street.public java.lang.String getHnr()
public void setHnr(java.lang.String hnr)
hnr
- - the house number.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()