io.qt.positioning.QGeoAddress Maven / Gradle / Ivy
Show all versions of qtjambi-positioning Show documentation
package io.qt.positioning;
import io.qt.*;
/**
* Represents an address of a QGeoLocation
* Java wrapper for Qt class QGeoAddress
*/
public class QGeoAddress extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QGeoAddress:: QGeoAddress()
*/
public QGeoAddress(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QGeoAddress instance);
/**
* See QGeoAddress:: QGeoAddress(QGeoAddress)
*/
public QGeoAddress(io.qt.positioning.@NonNull QGeoAddress other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QGeoAddress instance, io.qt.positioning.QGeoAddress other);
/**
*
*/
@QtUninvokable
public final java.lang.@NonNull String city(){
return city_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String city_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clear_native(long __this__nativeId);
/**
* See QGeoAddress:: country()const
*/
@QtUninvokable
public final java.lang.@NonNull String country(){
return country_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String country_native_constfct(long __this__nativeId);
/**
* See QGeoAddress:: countryCode()const
*/
@QtUninvokable
public final java.lang.@NonNull String countryCode(){
return countryCode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String countryCode_native_constfct(long __this__nativeId);
/**
* See QGeoAddress:: county()const
*/
@QtUninvokable
public final java.lang.@NonNull String county(){
return county_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String county_native_constfct(long __this__nativeId);
/**
* See QGeoAddress:: district()const
*/
@QtUninvokable
public final java.lang.@NonNull String district(){
return district_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String district_native_constfct(long __this__nativeId);
/**
* See QGeoAddress:: isEmpty()const
*/
@QtUninvokable
public final boolean isEmpty(){
return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isEmpty_native_constfct(long __this__nativeId);
/**
* See QGeoAddress:: isTextGenerated()const
*/
@QtUninvokable
public final boolean isTextGenerated(){
return isTextGenerated_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isTextGenerated_native_constfct(long __this__nativeId);
/**
* See QGeoAddress:: operator=(QGeoAddress)
*/
@QtUninvokable
public final void assign(io.qt.positioning.@NonNull QGeoAddress other){
assign_native_cref_QGeoAddress(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QGeoAddress(long __this__nativeId, long other);
/**
* See operator==(QGeoAddress, QGeoAddress)
*/
@QtUninvokable
public final boolean equals(io.qt.positioning.@NonNull QGeoAddress rhs){
return equals_native_cref_QGeoAddress(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean equals_native_cref_QGeoAddress(long __this__nativeId, long rhs);
/**
* See QGeoAddress:: postalCode()const
*/
@QtUninvokable
public final java.lang.@NonNull String postalCode(){
return postalCode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String postalCode_native_constfct(long __this__nativeId);
/**
* See QGeoAddress:: setCity(QString)
*/
@QtUninvokable
public final void setCity(java.lang.@NonNull String city){
setCity_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), city);
}
@QtUninvokable
private native void setCity_native_cref_QString(long __this__nativeId, java.lang.String city);
/**
* See QGeoAddress:: setCountry(QString)
*/
@QtUninvokable
public final void setCountry(java.lang.@NonNull String country){
setCountry_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), country);
}
@QtUninvokable
private native void setCountry_native_cref_QString(long __this__nativeId, java.lang.String country);
/**
* See QGeoAddress:: setCountryCode(QString)
*/
@QtUninvokable
public final void setCountryCode(java.lang.@NonNull String countryCode){
setCountryCode_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), countryCode);
}
@QtUninvokable
private native void setCountryCode_native_cref_QString(long __this__nativeId, java.lang.String countryCode);
/**
* See QGeoAddress:: setCounty(QString)
*/
@QtUninvokable
public final void setCounty(java.lang.@NonNull String county){
setCounty_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), county);
}
@QtUninvokable
private native void setCounty_native_cref_QString(long __this__nativeId, java.lang.String county);
/**
* See QGeoAddress:: setDistrict(QString)
*/
@QtUninvokable
public final void setDistrict(java.lang.@NonNull String district){
setDistrict_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), district);
}
@QtUninvokable
private native void setDistrict_native_cref_QString(long __this__nativeId, java.lang.String district);
/**
* See QGeoAddress:: setPostalCode(QString)
*/
@QtUninvokable
public final void setPostalCode(java.lang.@NonNull String postalCode){
setPostalCode_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), postalCode);
}
@QtUninvokable
private native void setPostalCode_native_cref_QString(long __this__nativeId, java.lang.String postalCode);
/**
* See QGeoAddress:: setState(QString)
*/
@QtUninvokable
public final void setState(java.lang.@NonNull String state){
setState_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), state);
}
@QtUninvokable
private native void setState_native_cref_QString(long __this__nativeId, java.lang.String state);
/**
* See QGeoAddress:: setStreet(QString)
*/
@QtUninvokable
public final void setStreet(java.lang.@NonNull String street){
setStreet_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), street);
}
@QtUninvokable
private native void setStreet_native_cref_QString(long __this__nativeId, java.lang.String street);
/**
* See QGeoAddress:: setStreetNumber(QString)
*/
@QtUninvokable
public final void setStreetNumber(java.lang.@NonNull String streetNumber){
setStreetNumber_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), streetNumber);
}
@QtUninvokable
private native void setStreetNumber_native_cref_QString(long __this__nativeId, java.lang.String streetNumber);
/**
* See QGeoAddress:: setText(QString)
*/
@QtUninvokable
public final void setText(java.lang.@NonNull String text){
setText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
@QtUninvokable
private native void setText_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
*
*/
@QtUninvokable
public final java.lang.@NonNull String state(){
return state_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String state_native_constfct(long __this__nativeId);
/**
* See QGeoAddress:: street()const
*/
@QtUninvokable
public final java.lang.@NonNull String street(){
return street_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String street_native_constfct(long __this__nativeId);
/**
* See QGeoAddress:: streetNumber()const
*/
@QtUninvokable
public final java.lang.@NonNull String streetNumber(){
return streetNumber_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String streetNumber_native_constfct(long __this__nativeId);
/**
* See QGeoAddress:: swap(QGeoAddress&)
*/
@QtUninvokable
public final void swap(io.qt.positioning.@StrictNonNull QGeoAddress other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QGeoAddress(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QGeoAddress(long __this__nativeId, long other);
/**
*
*/
@QtUninvokable
public final java.lang.@NonNull String text(){
return text_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String text_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QGeoAddress(QPrivateConstructor p) { super(p); }
/**
* See operator==(QGeoAddress, QGeoAddress)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.positioning.QGeoAddress) {
return equals((io.qt.positioning.QGeoAddress) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QGeoAddress)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
*/
@QtUninvokable
@Override
public QGeoAddress clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QGeoAddress clone_native(long __this_nativeId);
}