Android Open Source - uber-android Location Model






From Project

Back to project page uber-android.

License

The source code is released under:

MIT License

If you think the Android project uber-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*
 * UberAPILib/*from   w w  w. j  a v  a  2 s  .c om*/
 *
 * This file was automatically generated by APIMATIC BETA v2.0 on 08/22/2014
 */
package io.apimatic.uberapilib.models;

import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonSetter;

public class LocationModel 
        extends java.util.Observable {

    private String address;
    private double latitude;
    private double longitude;
    /** GETTER
     * The address in user readable form
     */
    @JsonGetter("address")
    public String getAddress ( ) { 
        return this.address;
    }
    
    /** SETTER
     * The address in user readable form
     */
    @JsonSetter("address")
    public void setAddress (String value) { 
        this.address = value;
        notifyObservers(this.address);
    }
 
    /** GETTER
     * Latitude component of location.
     */
    @JsonGetter("latitude")
    public double getLatitude ( ) { 
        return this.latitude;
    }
    
    /** SETTER
     * Latitude component of location.
     */
    @JsonSetter("latitude")
    public void setLatitude (double value) { 
        this.latitude = value;
        notifyObservers(this.latitude);
    }
 
    /** GETTER
     * Longitude component of location.
     */
    @JsonGetter("longitude")
    public double getLongitude ( ) { 
        return this.longitude;
    }
    
    /** SETTER
     * Longitude component of location.
     */
    @JsonSetter("longitude")
    public void setLongitude (double value) { 
        this.longitude = value;
        notifyObservers(this.longitude);
    }
 
}




Java Source Code List

io.apimatic.uberapilib.APIException.java
io.apimatic.uberapilib.APIHelper.java
io.apimatic.uberapilib.Configuration.java
io.apimatic.uberapilib.controllers.APIController.java
io.apimatic.uberapilib.models.HistoryModel.java
io.apimatic.uberapilib.models.LocationModel.java
io.apimatic.uberapilib.models.PriceEsitmateModel.java
io.apimatic.uberapilib.models.PriceEstimateCollectionModel.java
io.apimatic.uberapilib.models.ProductCollectionModel.java
io.apimatic.uberapilib.models.ProductModel.java
io.apimatic.uberapilib.models.TimeEstimateCollectionModel.java
io.apimatic.uberapilib.models.TimeEstimateModel.java
io.apimatic.uberapilib.models.UserActivityModel.java
io.apimatic.uberapilib.models.UserProfileModel.java