
package org.apache.aries.blueprint.reflect;

import org.apache.aries.blueprint.PassThroughMetadata;
import org.apache.aries.blueprint.mutable.MutablePassThroughMetadata;

/**
 * A metadata for environment managers.
 *
 * @version $Rev$, $Date$
 */
public class PassThroughMetadataImpl extends ComponentMetadataImpl implements MutablePassThroughMetadata {

    private Object object;

    public PassThroughMetadataImpl() {
    }

    public PassThroughMetadataImpl(PassThroughMetadata source) {
        super(source);
        this.object = source.getObject();
    }

    public PassThroughMetadataImpl(String id, Object object) {
        this.id = id;
        this.object = object;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
