/*
 * Copyright (c) OSGi Alliance (2012). 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.dto.framework;

import org.osgi.dto.DTO;
import org.osgi.dto.framework.startlevel.BundleStartLevelDTO;

/**
 * Data Transfer Object for a Bundle.
 * 
 * @version $Id$
 * @NotThreadSafe
 */
public class BundleDTO implements DTO {
    /**
     * DTOs are serializable.
     */
    private static final long  serialVersionUID = 1L;

    /**
     * The bundle's unique identifier.
     */
    public long                id;

    /**
     * The time when the bundle was last modified.
     */
    public long                lastModified;

    /**
     * The bundle's location identifier.
     */
    public String              location;

    /**
     * The bundle's state.
     */
    public int                 state;

    /**
     * The bundle's symbolic name.
     */
    public String              symbolicName;

    /**
     * The bundle's version.
     */
    public String              version;

    /**
     * The start level information for a bundle
     */
    public BundleStartLevelDTO startLevel;
}

@@ -702,45 +702,11 @@
 dto.
-framework.startlevel.BundleStartLevel
+Map
 DTO;
@@ -909,16 +909,19 @@
 l long  
+   
 serialVe
@@ -1022,16 +1022,19 @@
         
+   
 id;%0A%0A   
@@ -1128,16 +1128,19 @@
         
+   
 lastModi
@@ -1234,16 +1234,19 @@
         
+   
 location
@@ -1322,16 +1322,19 @@
         
+   
 state;%0A%0A
@@ -1415,16 +1415,19 @@
         
+   
 symbolic
@@ -1509,16 +1509,19 @@
         
+   
 version;
@@ -1545,44 +1545,39 @@
 The 
-start level information for a
+manifest headers of the
  bundle
+.
 %0A   
@@ -1596,38 +1596,38 @@
 lic 
-BundleStartLevelDTO startLevel
+MapDTO%3CString, String%3E headers
 ;%0A%7D%0A

Add headers to BundleDTO