Modifier and Type | Field and Description |
---|---|
List<ServiceReferenceDTO> |
matches
The list of service references that match this reference.
|
int |
minimumCardinality
The runtime minimum cardinality of the dependency.
|
String |
targetFilter
Indicates the runtime target filter used in addition to the
template .serviceType to match services. |
ReferenceTemplateDTO |
template
The template of this reference.
|
Constructor and Description |
---|
ReferenceDTO() |
public ReferenceTemplateDTO template
Must not be null
public int minimumCardinality
template
.maximumCardinality
is ONE
the value must
be either 0 or 1.template
.maximumCardinality
is MANY
the value
must be from 0 to Integer.MAX_VALUE
.
public String targetFilter
template
.serviceType
to match services.public List<ServiceReferenceDTO> matches
Must not be null
Can be empty when there are no matching services.
This dependency is satisfied when minimumCardinality
<= matches.size() <=
MaximumCardinality.toInt()
where the maximum cardinality can be
obtained from the associated ReferenceTemplateDTO
.
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0