/*
 * Copyright (c) IBM Corporation (2009). 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.test.cases.blueprint.namespace;

import java.util.HashSet;
import java.util.Set;

import org.osgi.service.blueprint.reflect.IdRefMetadata;
import org.osgi.service.blueprint.reflect.RefMetadata;
import org.osgi.service.blueprint.reflect.Target;

/**
 * A value which represents the name of another component in the module context.
 * The name itself will be injected, not the component that the name refers to.
 *
 */
public class RefMetadataImpl extends NonNullMetadataImpl implements RefMetadata {
    // the name of the component;
    private String id;

    protected RefMetadataImpl() {
        this((String)null);
    }

    protected RefMetadataImpl(String id) {
        super();
        this.id = id;
    }

    protected RefMetadataImpl(IdRefMetadata source) {
        super();
        id = source.getComponentId();
    }


    /**
     * The name of the component.
     *
     * @return component name. The component name may be null if this is an anonymously
     * defined inner component.
     */
    public String getComponentId() {
        return id;
    }


    public void setComponentId(String id) {
        this.id = id;
    }
}


@@ -1384,18 +1384,16 @@
 ataImpl(
-Id
 RefMetad

Fix compile error required by API class refactoring