/*
 * Copyright (c) OSGi Alliance (2013). All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.osgi.service.component.runtime;

import org.osgi.dto.DTO;
import org.osgi.dto.framework.ServiceReferenceDTO;

/**
 * A representation of a bound reference to a service.
 * 
 * @since 1.3
 * @NotThreadSafe
 * @author $Id$
 */
public class BoundReferenceDTO extends DTO {
	/**
	 * The declared reference.
	 * 
	 * <p>
	 * This is the representation of the declaration of the reference from the
	 * {@code reference} element of the component description.
	 */
	public ReferenceDTO				reference;

	/**
	 * The target property of the bound reference.
	 * 
	 * <p>
	 * This is the value of the {@link ComponentConfigurationDTO#properties
	 * component property} whose name is the concatenation of the
	 * {@link ReferenceDTO#name declared reference name} and &quot;.target&quot;.
	 * This will be {@code null} if no target property is set for the reference.
	 */
	public String					target;

	/**
	 * The bound services.
	 * 
	 * <p>
	 * Each {@link ServiceReferenceDTO} in the array represents a service bound
	 * to the component configuration.
	 */
	public ServiceReferenceDTO[]	serviceReferences;
}

@@ -32,16 +32,22 @@
 ce (2013
+, 2014
 ). All R
@@ -921,16 +921,28 @@
 %09 * The 
+name of the 
 declared
@@ -982,75 +982,53 @@
  is 
-the representation of the declaration of the reference from the%0A%09 *
+declared in the %7B@code name%7D attribute of the
  %7B@c
@@ -1041,16 +1041,20 @@
 ference%7D
+%0A%09 *
  element
@@ -1091,42 +1091,75 @@
 %0A%09 *
-/%0A%09public ReferenceDTO%09%09%09%09referenc
+ %0A%09 * @see ComponentDescriptionDTO#name%0A%09 */%0A%09public String%09%09%09%09%09nam
 e;%0A%0A
@@ -1417,16 +1417,20 @@
 ame%7D and
+%0A%09 *
  &quot;.
@@ -1442,20 +1442,16 @@
 t&quot;.
-%0A%09 *
  This wi
@@ -1493,16 +1493,20 @@
 perty is
+%0A%09 *
  set for

Remove duplicate DTO in graph