Package classes

Class Object_Location

  • All Implemented Interfaces:
    android.os.Parcelable

    public class Object_Location
    extends Object_BaseObject
    A location (must have either a latitude / longitude or a zip code).
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<Object_Location> CREATOR  
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Constructor Summary

      Constructors 
      Constructor Description
      Object_Location​(double latitude, double longitude)  
      Object_Location​(long id, double latitude, double longitude)  
      Object_Location​(java.lang.String zip_code)  
    • Field Detail

      • CREATOR

        public static final android.os.Parcelable.Creator<Object_Location> CREATOR
    • Constructor Detail

      • Object_Location

        public Object_Location​(long id,
                               double latitude,
                               double longitude)
      • Object_Location

        public Object_Location​(double latitude,
                               double longitude)
      • Object_Location

        public Object_Location​(java.lang.String zip_code)
    • Method Detail

      • getLatitude

        public double getLatitude()
      • getLongitude

        public double getLongitude()
      • getZipCode

        public java.lang.String getZipCode()
      • writeToParcel

        public void writeToParcel​(android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable
        Overrides:
        writeToParcel in class Object_BaseObject