Class ZoneEx

  • All Implemented Interfaces:
    java.lang.Iterable<buzz.getcoco.iot.Resource>

    public class ZoneEx
    extends buzz.getcoco.iot.Zone
    • Field Summary

      • Fields inherited from class buzz.getcoco.iot.Zone

        DEFAULT_ZONE_ID, defaultZoneName
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ZoneEx​(int zoneId, buzz.getcoco.iot.Network parent)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Identifier getIdentifier()  
      androidx.lifecycle.LiveData<java.lang.String> getNameObservable()  
      androidx.lifecycle.LiveData<java.util.Set<buzz.getcoco.iot.Resource>> getResourcesObservable()  
      protected void internalAddResource​(buzz.getcoco.iot.Resource resource)  
      protected void internalRemoveResource​(buzz.getcoco.iot.Resource resource)  
      protected void internalSetName​(java.lang.String name)  
      • Methods inherited from class buzz.getcoco.iot.Zone

        containsResource, getId, getName, getParent, getResources, hashCode, internalMarkAsReady, internalSetParent, isReady, iterator, setName, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • ZoneEx

        protected ZoneEx​(int zoneId,
                         buzz.getcoco.iot.Network parent)
    • Method Detail

      • internalSetName

        protected void internalSetName​(java.lang.String name)
        Overrides:
        internalSetName in class buzz.getcoco.iot.Zone
      • internalRemoveResource

        protected void internalRemoveResource​(buzz.getcoco.iot.Resource resource)
        Overrides:
        internalRemoveResource in class buzz.getcoco.iot.Zone
      • internalAddResource

        protected void internalAddResource​(buzz.getcoco.iot.Resource resource)
        Overrides:
        internalAddResource in class buzz.getcoco.iot.Zone
      • getIdentifier

        public Identifier getIdentifier()
      • getNameObservable

        public androidx.lifecycle.LiveData<java.lang.String> getNameObservable()
      • getResourcesObservable

        public androidx.lifecycle.LiveData<java.util.Set<buzz.getcoco.iot.Resource>> getResourcesObservable()