Class ReferenceDTO
- java.lang.Object
-
- org.osgi.dto.DTO
-
- org.osgi.service.component.runtime.dto.ReferenceDTO
-
public class ReferenceDTO extends org.osgi.dto.DTOA representation of a declared reference to a service.- Since:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringbindThe name of the bind method of the reference.java.lang.StringcardinalityThe cardinality of the reference.java.lang.StringcollectionTypeThe collection type for the reference.java.lang.StringfieldThe name of the field of the reference.java.lang.StringfieldOptionThe field option of the reference.java.lang.StringinterfaceNameThe service interface of the reference.java.lang.StringnameThe name of the reference.java.lang.IntegerparameterThe zero-based parameter number of the constructor parameter for the reference.java.lang.StringpolicyThe policy of the reference.java.lang.StringpolicyOptionThe policy option of the reference.java.lang.StringscopeThe scope of the reference.java.lang.StringtargetThe target of the reference.java.lang.StringunbindThe name of the unbind method of the reference.java.lang.StringupdatedThe name of the updated method of the reference.
-
Constructor Summary
Constructors Constructor Description ReferenceDTO()
-
-
-
Field Detail
-
name
public java.lang.String name
The name of the reference.This is declared in the
nameattribute of thereferenceelement. This must be the default name if the component description does not declare a name for the reference.
-
interfaceName
public java.lang.String interfaceName
The service interface of the reference.This is declared in the
interfaceattribute of thereferenceelement.
-
cardinality
public java.lang.String cardinality
The cardinality of the reference.This is declared in the
cardinalityattribute of thereferenceelement. This must be the default cardinality if the component description does not declare a cardinality for the reference.
-
policy
public java.lang.String policy
The policy of the reference.This is declared in the
policyattribute of thereferenceelement. This must be the default policy if the component description does not declare a policy for the reference.
-
policyOption
public java.lang.String policyOption
The policy option of the reference.This is declared in the
policy-optionattribute of thereferenceelement. This must be the default policy option if the component description does not declare a policy option for the reference.
-
target
public java.lang.String target
The target of the reference.This is declared in the
targetattribute of thereferenceelement. This must benullif the component description does not declare a target for the reference.
-
bind
public java.lang.String bind
The name of the bind method of the reference.This is declared in the
bindattribute of thereferenceelement. This must benullif the component description does not declare a bind method for the reference.
-
unbind
public java.lang.String unbind
The name of the unbind method of the reference.This is declared in the
unbindattribute of thereferenceelement. This must benullif the component description does not declare an unbind method for the reference.
-
updated
public java.lang.String updated
The name of the updated method of the reference.This is declared in the
updatedattribute of thereferenceelement. This must benullif the component description does not declare an updated method for the reference.
-
field
public java.lang.String field
The name of the field of the reference.This is declared in the
fieldattribute of thereferenceelement. This must benullif the component description does not declare a field for the reference.
-
fieldOption
public java.lang.String fieldOption
The field option of the reference.This is declared in the
field-optionattribute of thereferenceelement. This must benullif the component description does not declare a field for the reference.
-
scope
public java.lang.String scope
The scope of the reference.This is declared in the
scopeattribute of thereferenceelement. This must be the default scope if the component description does not declare a scope for the reference.
-
parameter
public java.lang.Integer parameter
The zero-based parameter number of the constructor parameter for the reference.This is declared in the
parameterattribute of thereferenceelement. This must benullif the component description does not declare a parameter number for the reference.- Since:
- 1.4
-
collectionType
public java.lang.String collectionType
The collection type for the reference.This is declared in the
field-collection-typeattribute of thereferenceelement. This must benullif the component description does not declare a collection type for the reference.- Since:
- 1.4
-
-