Class AttributeEx


  • public class AttributeEx
    extends buzz.getcoco.iot.Attribute
    • Constructor Detail

      • AttributeEx

        protected AttributeEx​(int id,
                              buzz.getcoco.iot.Capability parent)
    • Method Detail

      • getParentNetwork

        protected buzz.getcoco.iot.Network getParentNetwork()
      • syncCurrentValue

        protected void syncCurrentValue()
      • getParentResource

        @Nullable
        public ResourceEx getParentResource()
      • internalSetName

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

        protected void internalSetMinValue​(java.lang.Object minValue)
        Overrides:
        internalSetMinValue in class buzz.getcoco.iot.Attribute
      • internalSetMaxValue

        protected void internalSetMaxValue​(java.lang.Object maxValue)
        Overrides:
        internalSetMaxValue in class buzz.getcoco.iot.Attribute
      • internalSetCurrentValue

        protected void internalSetCurrentValue​(java.lang.Object currentValue)
        Overrides:
        internalSetCurrentValue in class buzz.getcoco.iot.Attribute
      • internalSetDefaultValue

        protected void internalSetDefaultValue​(java.lang.Object defaultValue)
        Overrides:
        internalSetDefaultValue in class buzz.getcoco.iot.Attribute
      • internalSetParent

        protected void internalSetParent​(buzz.getcoco.iot.Capability parent)
        Overrides:
        internalSetParent in class buzz.getcoco.iot.Attribute
      • getNameObservable

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

        public androidx.lifecycle.LiveData<java.lang.Object> getCurrentValueObservable()
      • getDefaultValueObservable

        public androidx.lifecycle.LiveData<java.lang.Object> getDefaultValueObservable()
      • getAttributeId

        public static buzz.getcoco.iot.Capability.AttributeId getAttributeId​(int attributeId,
                                                                             int capabilityId)
      • getIdentifier

        public Identifier getIdentifier()