Package com.avsystem.anjay
Class AnjayAttributes.ResourceAttrs
- java.lang.Object
-
- com.avsystem.anjay.AnjayAttributes.ResourceAttrs
-
- Enclosing class:
- AnjayAttributes
public static final class AnjayAttributes.ResourceAttrs extends java.lang.ObjectAttributes for Resources and Resource Instances.
-
-
Field Summary
Fields Modifier and Type Field Description AnjayAttributes.ObjectInstanceAttrscommonAttributes shared with Objects/Object InstancesdoublegreaterThanGreater Than attribute as defined by LwM2M specdoublelessThanLess Than attribute as defined by LwM2M specdoublestepStep attribute as defined by LwM2M spec
-
Constructor Summary
Constructors Constructor Description ResourceAttrs()Creates attributes object with no attributes set.ResourceAttrs(AnjayAttributes.ObjectInstanceAttrs common, double greaterThan, double lessThan, double step)Creates attributes object with given attributes values.
-
-
-
Field Detail
-
common
public AnjayAttributes.ObjectInstanceAttrs common
Attributes shared with Objects/Object Instances
-
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 InstancesgreaterThan- Greater Than attribute as defined by LwM2M speclessThan- Less Than attribute as defined by LwM2M specstep- Step attribute as defined by LwM2M spec
-
-