Top Description Fields Constructors Methods
org.osgi.resource.dto

public Class CapabilityDTO

extends DTO
Class Inheritance
Imports
java.util.Map, org.osgi.dto.DTO, org.osgi.resource.Capability

Data Transfer Object for a Capability.
Author
$Id: 1f7fad1bf5985e7a4e8e72866019a47300402531 $

Field Summary

Modifier and TypeField and Description
public Map<String, Object>
attributes

The attributes for the capability.

public Map<String, String>
directives

The directives for the capability.

public int
id

The unique identifier of the capability.

public String
namespace

The namespace for the capability.

public int
resource

The identifier of the resource declaring the capability.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from org.osgi.dto.DTO:
toString

Field Detail

attributesback to summary
public Map<String, Object> attributes

The attributes for the capability.

The value type must be a numerical type, Boolean, String, DTO or an array of any of the former.

See Also
Capability#getAttributes()
directivesback to summary
public Map<String, String> directives

The directives for the capability.

See Also
Capability#getDirectives()
idback to summary
public int id

The unique identifier of the capability.

This identifier is transiently assigned and may vary across restarts.

namespaceback to summary
public String namespace

The namespace for the capability.

See Also
Capability#getNamespace()
resourceback to summary
public int resource

The identifier of the resource declaring the capability.

See Also
ResourceDTO#id, Capability#getResource()

Constructor Detail

CapabilityDTOback to summary
public CapabilityDTO()