Class LiveTopic

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Check if an object is equal to this LiveTopic Both LiveTopic and LiveTopicCriteria can be equal to this
      java.lang.String getBuilding()
      Get the building of this topic
      java.lang.String getDataset()
      Get the dataset of this topic
      java.lang.String getDomainType()
      Get the domainType of this topic Example: "occupancy"
      java.lang.String getFloor()
      Get the floor of this topic
      java.lang.String getLocation()
      Get the location of this topic
      java.lang.String getRoom()
      Get the room of this topic
      java.lang.String getVenue()
      Get the venue of this topic
      boolean isMultiLevelWildcard()  
      boolean matchesCriteria​(LiveTopicCriteria liveTopicCriteria)
      Check if a LiveTopicCriteria matches this LiveTopic
      boolean matchesCriteria​(MPLiveTopic liveTopic)  
      java.lang.String topicString()
      Create a topic string from this LiveTopic
      • Methods inherited from class java.lang.Object

        getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getDataset

        public java.lang.String getDataset()
        Get the dataset of this topic
        Returns:
        the dataset id
      • getVenue

        public java.lang.String getVenue()
        Get the venue of this topic
        Returns:
        the venue id
      • getBuilding

        public java.lang.String getBuilding()
        Get the building of this topic
        Returns:
        the building id
      • getFloor

        public java.lang.String getFloor()
        Get the floor of this topic
        Returns:
        the floor id
      • getRoom

        public java.lang.String getRoom()
        Get the room of this topic
        Returns:
        the room id
      • getLocation

        public java.lang.String getLocation()
        Get the location of this topic
        Returns:
        the location id
      • getDomainType

        public java.lang.String getDomainType()
        Get the domainType of this topic Example: "occupancy"
        Specified by:
        getDomainType in interface MPLiveTopic
        Returns:
        The domainType
      • topicString

        public java.lang.String topicString()
        Create a topic string from this LiveTopic
        Specified by:
        topicString in interface MPLiveTopic
        Returns:
        a single string containing topic information for this LiveTopic. Each part is separated by a "/"
      • matchesCriteria

        public boolean matchesCriteria​(LiveTopicCriteria liveTopicCriteria)
        Check if a LiveTopicCriteria matches this LiveTopic
        Parameters:
        liveTopicCriteria - a LiveTopicCriteria
        Returns:
        a boolean to tell if the LiveTopicCriteria matched this LiveTopic
      • equals

        public boolean equals​(java.lang.Object obj)
        Check if an object is equal to this LiveTopic Both LiveTopic and LiveTopicCriteria can be equal to this
        Specified by:
        equals in interface MPLiveTopic
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - The Object to check if its equal
        Returns:
        a boolean to tell if the Object is equal to this LiveTopic