类 RequirementDTO
- java.lang.Object
-
- org.osgi.dto.DTO
-
- org.osgi.resource.dto.RequirementDTO
-
public class RequirementDTO extends DTO
Data Transfer Object for a Requirement.- 作者:
- $Id: RequirementDTO.java 1614569 2014-07-30 07:22:32Z cziegeler $
-
-
字段概要
字段 修饰符和类型 字段 说明 java.util.Map<java.lang.String,java.lang.Object>attributesThe attributes for the requirement.java.util.Map<java.lang.String,java.lang.String>directivesThe directives for the requirement.intidThe unique identifier of the requirement.java.lang.StringnamespaceThe namespace for the requirement.intresourceThe identifier of the resource declaring the requirement.
-
构造器概要
构造器 构造器 说明 RequirementDTO()
-
-
-
字段详细资料
-
id
public int id
The unique identifier of the requirement.This identifier is transiently assigned and may vary across restarts.
-
namespace
public java.lang.String namespace
The namespace for the requirement.
-
directives
public java.util.Map<java.lang.String,java.lang.String> directives
The directives for the requirement.
-
attributes
public java.util.Map<java.lang.String,java.lang.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.
-
resource
public int resource
The identifier of the resource declaring the requirement.
-
-