Class Building

    • Field Detail

      • CREATOR

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

      • getUserIdentifier

        public java.lang.String getUserIdentifier()
        Returns unique identifier of the owner user of the building
      • getName

        public java.lang.String getName()
        Returns the building name that is appropriate for display to the user.
      • getAddress

        public java.lang.String getAddress()
        Returns the building address.
      • getInfoHtml

        public java.lang.String getInfoHtml()
        Returns additional information about the building, formatted with HTML.
      • getDimensions

        public Dimensions getDimensions()
        Returns dimensions of building's base (height and width) in meters.
      • getCenter

        public Coordinate getCenter()
        Return center of the building's base, as geographical coordinate.
      • getRotation

        public Angle getRotation()
        Returns rotation angle of the building's base, relative to the west-east axis, increasing in clockwise, being 0 the west-east axis.
      • getPictureUrl

        public URL getPictureUrl()
        Return the url of the building image
      • getPictureThumbUrl

        public URL getPictureThumbUrl()
        Return the url of the thumbnail building image
      • getBoundsRotated

        public Bounds getBoundsRotated()
        Compute corners of this building, with rotation, in earth coordinates.
      • routePointsForDevice

        public java.util.List<Point> routePointsForDevice​(long deviceID)
      • getBounds

        public Bounds getBounds()
        Compute corners of this building, without rotation, in earth coordinates.
      • 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
      • equals

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

        public java.lang.String toString()
        toString in class Resource
      • 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