ResourceDTO
Date: 2016-06-24

org.osgi.resource.dto

## Class ResourceDTO

- java.lang.Object
- - org.osgi.dto.DTO
  - - org.osgi.resource.dto.ResourceDTO

- Direct Known Subclasses:
    BundleRevisionDTO

      public class ResourceDTO
      extends DTO

  Data Transfer Object for a Resource.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.util.List<CapabilityDTO>` | `capabilities` The capabilities of the resource.
    `int` | `id` The unique identifier of the resource.
    `java.util.List<RequirementDTO>` | `requirements` The requirements of the resource.

  - ### Constructor Summary

    Constructors
    Constructor and 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

    - #### id

          public int id

      The unique identifier of the resource.

      This identifier is transiently assigned and may vary across restarts.

    - #### capabilities

          public java.util.List<CapabilityDTO> capabilities

      The capabilities of the resource.
      See Also:
        `Resource.getCapabilities(String)`

    - #### requirements

          public java.util.List<RequirementDTO> requirements

      The requirements of the resource.
      See Also:
        `Resource.getRequirements(String)`

  - ### Constructor Detail

    - #### ResourceDTO

          public ResourceDTO()