Class AnjayAttributes.ResourceAttrs

  • Enclosing class:
    AnjayAttributes

    public static final class AnjayAttributes.ResourceAttrs
    extends java.lang.Object
    Attributes for Resources and Resource Instances.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      AnjayAttributes.ObjectInstanceAttrs common
      Attributes shared with Objects/Object Instances
      double greaterThan
      Greater Than attribute as defined by LwM2M spec
      double lessThan
      Less Than attribute as defined by LwM2M spec
      double step
      Step attribute as defined by LwM2M spec
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • greaterThan

        public double greaterThan
        Greater Than attribute as defined by LwM2M spec
      • lessThan

        public double lessThan
        Less Than attribute as defined by LwM2M spec
      • step

        public double step
        Step attribute as defined by LwM2M spec
    • Constructor Detail

      • ResourceAttrs

        public ResourceAttrs()
        Creates attributes object with no attributes set.
      • ResourceAttrs

        public ResourceAttrs​(AnjayAttributes.ObjectInstanceAttrs common,
                             double greaterThan,
                             double lessThan,
                             double step)
        Creates attributes object with given attributes values.
        Parameters:
        common - Attributes shared with Objects/Object Instances
        greaterThan - Greater Than attribute as defined by LwM2M spec
        lessThan - Less Than attribute as defined by LwM2M spec
        step - Step attribute as defined by LwM2M spec