Package 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 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 Description ResourceDTO()
-
-
-
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)
-
-