/*
 *   Copyright 2006 The Apache Software Foundation
 *
 *   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.apache.felix.framework.searchpolicy;

import org.apache.felix.moduleloader.IModuleDefinition;

public class ModuleDefinition implements IModuleDefinition
{
    public R4Export[] m_exports = null;
    public R4Import[] m_imports = null;
    public R4Import[] m_dynamicImports = null;
    public R4Library[] m_libraries = null;

    public ModuleDefinition(
        R4Export[] exports, R4Import[] imports,
        R4Import[] dynamicImports, R4Library[] libraries)
    {
        m_exports = exports;
        m_imports = imports;
        m_dynamicImports = dynamicImports;
        m_libraries = libraries;
    }

    public R4Export[] getExports()
    {
// TODO: ML - These should probably all return copies of the array.
        return m_exports;
    }

    public R4Import[] getImports()
    {
        return m_imports;
    }

    public R4Import[] getDynamicImports()
    {
        return m_dynamicImports;
    }

    public R4Library[] getLibraries()
    {
        return m_libraries;
    }
}
@@ -799,29 +799,30 @@
 tion%0A%7B%0A    p
-ublic
+rivate
  R4Export%5B%5D 
@@ -836,37 +836,38 @@
 ts = null;%0A    p
-ublic
+rivate
  R4Import%5B%5D m_im
@@ -881,29 +881,30 @@
  null;%0A    p
-ublic
+rivate
  R4Import%5B%5D 
@@ -929,29 +929,30 @@
  null;%0A    p
-ublic
+rivate
  R4Library%5B%5D

Removed some unnecessary whitespace.