Class CreatorEx

  • All Implemented Interfaces:
    buzz.getcoco.iot.Creator, buzz.getcoco.iot.DefaultCreator

    public class CreatorEx
    extends java.lang.Object
    implements buzz.getcoco.iot.DefaultCreator
    • Constructor Summary

      Constructors 
      Constructor Description
      CreatorEx()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      buzz.getcoco.iot.Resource createAdvertResource​(java.lang.String eui, buzz.getcoco.iot.Device parentDevice)  
      buzz.getcoco.iot.Attribute createAttribute​(int id, buzz.getcoco.iot.Capability parent)  
      buzz.getcoco.iot.Capability createCapability​(int capabilityId, buzz.getcoco.iot.Resource parent)  
      buzz.getcoco.iot.Device createDevice​(long deviceNodeId, buzz.getcoco.iot.Network parent)  
      buzz.getcoco.iot.Network createNetwork​(java.lang.String id)  
      buzz.getcoco.iot.Resource createResource​(java.lang.String eui, buzz.getcoco.iot.Device parentDevice, buzz.getcoco.iot.Zone parentZone)  
      buzz.getcoco.iot.Rule createRule​(int id, buzz.getcoco.iot.Network parent)  
      buzz.getcoco.iot.Scene createScene​(int sceneId, buzz.getcoco.iot.Network parent)  
      buzz.getcoco.iot.Zone createZone​(int zoneId, buzz.getcoco.iot.Network parent)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CreatorEx

        public CreatorEx()
    • Method Detail

      • createNetwork

        public buzz.getcoco.iot.Network createNetwork​(java.lang.String id)
        Specified by:
        createNetwork in interface buzz.getcoco.iot.Creator
        Specified by:
        createNetwork in interface buzz.getcoco.iot.DefaultCreator
      • createResource

        public buzz.getcoco.iot.Resource createResource​(java.lang.String eui,
                                                        buzz.getcoco.iot.Device parentDevice,
                                                        buzz.getcoco.iot.Zone parentZone)
        Specified by:
        createResource in interface buzz.getcoco.iot.Creator
        Specified by:
        createResource in interface buzz.getcoco.iot.DefaultCreator
      • createAdvertResource

        public buzz.getcoco.iot.Resource createAdvertResource​(java.lang.String eui,
                                                              buzz.getcoco.iot.Device parentDevice)
        Specified by:
        createAdvertResource in interface buzz.getcoco.iot.Creator
        Specified by:
        createAdvertResource in interface buzz.getcoco.iot.DefaultCreator
      • createAttribute

        public buzz.getcoco.iot.Attribute createAttribute​(int id,
                                                          buzz.getcoco.iot.Capability parent)
        Specified by:
        createAttribute in interface buzz.getcoco.iot.Creator
        Specified by:
        createAttribute in interface buzz.getcoco.iot.DefaultCreator
      • createCapability

        public buzz.getcoco.iot.Capability createCapability​(int capabilityId,
                                                            buzz.getcoco.iot.Resource parent)
        Specified by:
        createCapability in interface buzz.getcoco.iot.Creator
        Specified by:
        createCapability in interface buzz.getcoco.iot.DefaultCreator
      • createDevice

        public buzz.getcoco.iot.Device createDevice​(long deviceNodeId,
                                                    buzz.getcoco.iot.Network parent)
        Specified by:
        createDevice in interface buzz.getcoco.iot.Creator
        Specified by:
        createDevice in interface buzz.getcoco.iot.DefaultCreator
      • createZone

        public buzz.getcoco.iot.Zone createZone​(int zoneId,
                                                buzz.getcoco.iot.Network parent)
        Specified by:
        createZone in interface buzz.getcoco.iot.Creator
        Specified by:
        createZone in interface buzz.getcoco.iot.DefaultCreator
      • createRule

        public buzz.getcoco.iot.Rule createRule​(int id,
                                                buzz.getcoco.iot.Network parent)
        Specified by:
        createRule in interface buzz.getcoco.iot.Creator
        Specified by:
        createRule in interface buzz.getcoco.iot.DefaultCreator
      • createScene

        public buzz.getcoco.iot.Scene createScene​(int sceneId,
                                                  buzz.getcoco.iot.Network parent)
        Specified by:
        createScene in interface buzz.getcoco.iot.Creator
        Specified by:
        createScene in interface buzz.getcoco.iot.DefaultCreator