Class Floor

    • Field Detail

      • CREATOR

        public static final android.os.Parcelable.Creator<Floor> CREATOR
    • Method Detail

      • getBuildingIdentifier

        public java.lang.String getBuildingIdentifier()
        Returns the identifier of building which this floor belongs.
        Specified by:
        getBuildingIdentifier in interface BuildingResource
      • getName

        public java.lang.String getName()
        Return the name of the floor limited to 5 characters. If name is not defined an empty String is returned.
      • getLevel

        public int getLevel()
        use getFloor() instead
        Returns the number of the floor.
      • getFloor

        public int getFloor()
        Retrieves the number of the floor
      • getScale

        public double getScale()
        Returns the scale of the floor image, in px/meters
      • getAltitude

        public double getAltitude()
        Returns altitude of the floor above ground level, in meters
        the floor altitude. Default value is 0
      • getMapUrl

        public URL getMapUrl()
        Return the floor map image url
      • toMap

        public java.util.Map<java.lang.String,​java.lang.Object> toMap()
        Description copied from interface: MapperInterface
        Method to transform object into Map
        Specified by:
        toMap in interface MapperInterface
        Map with the information of the object mapped
      • describeContents

        public int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

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

        public boolean equals​(java.lang.Object o)
        equals in class Resource
      • toString

        public java.lang.String toString()
        toString in class Resource