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