OSGi™ Core
Release 6

org.osgi.resource.dto
Class ResourceDTO

java.lang.Object
  extended by org.osgi.dto.DTO
      extended by org.osgi.resource.dto.ResourceDTO
Direct Known Subclasses:
BundleRevisionDTO

public class ResourceDTO
extends DTO

Data Transfer Object for a Resource.

"NotThreadSafe"

Field Summary
 List<CapabilityDTO> capabilities
          The capabilities of the resource.
 int id
          The unique identifier of the resource.
 List<RequirementDTO> requirements
          The requirements of the resource.
 
Constructor Summary
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

id

public int id
The unique identifier of the resource.

This identifier is transiently assigned and may vary across restarts.


capabilities

public List<CapabilityDTO> capabilities
The capabilities of the resource.

See Also:
Resource.getCapabilities(String)

requirements

public List<RequirementDTO> requirements
The requirements of the resource.

See Also:
Resource.getRequirements(String)
Constructor Detail

ResourceDTO

public ResourceDTO()

OSGi™ Core
Release 6

Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0