Class BuildingInfo

  • All Implemented Interfaces:
    android.os.Parcelable, MapperInterface

    public class BuildingInfo
    extends java.lang.Object
    implements android.os.Parcelable, MapperInterface
    A building and its dependencies: floors, POIs and events
    • Field Detail

      • CREATOR

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

      • getBuilding

        public final Building getBuilding()
        Returns the building, without dependencies.
      • containsPoint

        public boolean containsPoint​(Point point)
      • getEvents

        public final java.util.Collection<SitumEvent> getEvents()
        Returns registered events in the building.
        Collection of SitumEvent. Can be empty.
      • getFloors

        public final java.util.Collection<Floor> getFloors()
        Returns existent floors in the building.
        Collection of Floors. Can be empty.
      • getIndoorPOIs

        public final java.util.Collection<Poi> getIndoorPOIs()
        Returns points of interest inside the building.
        Collection of Poi. Can be empty.
      • getOutdoorPOIs

        public final java.util.Collection<Poi> getOutdoorPOIs()
        Returns points of interest outside the building
        Collection of SitumEvent. Can be empty.
      • getGeofences

        public final java.util.Collection<Geofence> getGeofences()
        Returns the building's geofences
        Collection of Geofence. Can be empty.
      • 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
      • toString

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