Class ResourceDTO


  • public class ResourceDTO
    extends org.osgi.dto.DTO
    DTO expresses Resource.

    Universal attributes are expressed in field of the class. Common attributes and other attributes are stored in attribute field.

    See Also:
    oneM2M TS-0001 9.6.1.3.1
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.Map<java.lang.String,​java.lang.Object> attribute
      Non Universal Attribute.
      java.lang.String creationTime
      Creation time
      java.lang.String lastModifiedTime
      last modified time
      java.lang.String parentID
      Parent ID Resource ID of parent resource.
      java.lang.String resourceID
      Resource ID
      java.lang.String resourceName
      Resource name
      java.lang.Integer resourceType
      Resource Type
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceDTO()  
    • Method Summary

      • Methods inherited from class org.osgi.dto.DTO

        toString
      • Methods inherited from class java.lang.Object

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

      • parentID

        public java.lang.String parentID
        Parent ID Resource ID of parent resource.
        See Also:
        oneM2M TS-0001 9.6.1.3.1
      • attribute

        public java.util.Map<java.lang.String,​java.lang.Object> attribute
        Non Universal Attribute. Value Part must be the types that are allowed for OSGi DTO. In case of value part can be expressed DTO in this package, the DTO must be used. In case of value part have sub-elements, GenericDTO must be used.
    • Constructor Detail

      • ResourceDTO

        public ResourceDTO()