public class CapabilityDTO extends DTO
| Modifier and Type | Field and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
attributes
The attributes for the capability.
|
java.util.Map<java.lang.String,java.lang.String> |
directives
The directives for the capability.
|
int |
id
The unique identifier of the capability.
|
java.lang.String |
namespace
The namespace for the capability.
|
int |
resource
The identifier of the resource declaring the capability.
|
| Constructor and Description |
|---|
CapabilityDTO() |
public int id
This identifier is transiently assigned and may vary across restarts.
public java.lang.String namespace
Capability.getNamespace()public java.util.Map<java.lang.String,java.lang.String> directives
Capability.getDirectives()public java.util.Map<java.lang.String,java.lang.Object> attributes
The value type must be a numerical type, Boolean, String, DTO or an array of any of the former.
Capability.getAttributes()public int resource
ResourceDTO.id,
Capability.getResource()Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0