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

public Class RequirementDTO

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

Data Transfer Object for a Requirement.
Author
$Id: dfa21db37ca5ba2be4524dc8cbfa5adae20a8043 $

Field Summary

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

The attributes for the requirement.

public Map<String, String>
directives

The directives for the requirement.

public int
id

The unique identifier of the requirement.

public String
namespace

The namespace for the requirement.

public int
resource

The identifier of the resource declaring the requirement.

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 requirement.

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

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

The directives for the requirement.

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

The unique identifier of the requirement.

This identifier is transiently assigned and may vary across restarts.

namespaceback to summary
public String namespace

The namespace for the requirement.

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

The identifier of the resource declaring the requirement.

See Also
ResourceDTO#id, Requirement#getResource()

Constructor Detail

RequirementDTOback to summary
public RequirementDTO()