|
OSGi™ Core Release 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.osgi.dto.DTO
org.osgi.resource.dto.RequirementDTO
public class RequirementDTO
Data Transfer Object for a Requirement.
| Field Summary | |
|---|---|
Map<String,Object> |
attributes
The attributes for the requirement. |
Map<String,String> |
directives
The directives for the requirement. |
int |
id
The unique identifier of the requirement. |
String |
namespace
The namespace for the requirement. |
int |
resource
The identifier of the resource declaring the requirement. |
| Constructor Summary | |
|---|---|
RequirementDTO()
|
|
| 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 |
|---|
public int id
This identifier is transiently assigned and may vary across restarts.
public String namespace
Requirement.getNamespace()public Map<String,String> directives
Requirement.getDirectives()public Map<String,Object> attributes
The value type must be a numerical type, Boolean, String, DTO or an array of any of the former.
Requirement.getAttributes()public int resource
ResourceDTO.id,
Requirement.getResource()| Constructor Detail |
|---|
public RequirementDTO()
|
OSGi™ Core Release 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||