sysperfana/memspyext/com.nokia.s60tools.swmtanalyser/src/com/nokia/s60tools/swmtanalyser/data/ChunksData.java
changeset 7 8e12a575a9b5
equal deleted inserted replaced
6:f65f740e69f9 7:8e12a575a9b5
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 package com.nokia.s60tools.swmtanalyser.data;
       
    18 
       
    19 /**
       
    20  * Stores chunk related data.
       
    21  *
       
    22  */
       
    23 public class ChunksData {
       
    24 	private String processName;
       
    25 	private String chunkName;
       
    26 	private String handle;
       
    27 	private String baseAddr;
       
    28 	private long size = -1;
       
    29 	private int attrib;
       
    30 	private boolean isKernelHandleDeleted;
       
    31 	
       
    32 	public ChunksData() {}
       
    33 	
       
    34 	public ChunksData(ChunksData target)
       
    35 	{
       
    36 		this.chunkName = target.chunkName;
       
    37 		this.processName = target.processName;
       
    38 		this.baseAddr = target.baseAddr;
       
    39 		this.size = target.size;
       
    40 		this.attrib = target.attrib;
       
    41 	}
       
    42 	
       
    43 	public int getAttrib() {
       
    44 		return attrib;
       
    45 	}
       
    46 	public void setAttrib(int attrib) {
       
    47 		this.attrib = attrib;
       
    48 	}
       
    49 	public String getBaseAddr() {
       
    50 		return baseAddr;
       
    51 	}
       
    52 	public void setBaseAddr(String baseAddr) {
       
    53 		this.baseAddr = baseAddr;
       
    54 	}
       
    55 	public String getChunkName() {
       
    56 		return chunkName;
       
    57 	}
       
    58 	public void setChunkName(String chunkName) {
       
    59 		this.chunkName = chunkName;
       
    60 	}
       
    61 	public String getHandle() {
       
    62 		return handle;
       
    63 	}
       
    64 	public void setHandle(String handle) {
       
    65 		this.handle = handle;
       
    66 	}
       
    67 	public String getProcessName() {
       
    68 		return processName;
       
    69 	}
       
    70 	public void setProcessName(String processName) {
       
    71 		this.processName = processName;
       
    72 	}
       
    73 	public long getSize() {
       
    74 		return size;
       
    75 	}
       
    76 	public void setSize(long size) {
       
    77 		this.size = size;
       
    78 	}
       
    79 
       
    80 	public boolean isKernelHandleDeleted() {
       
    81 		return isKernelHandleDeleted;
       
    82 	}
       
    83 
       
    84 	public void setKernelHandleDeleted(boolean isKernelHandleDeleted) {
       
    85 		this.isKernelHandleDeleted = isKernelHandleDeleted;
       
    86 	}
       
    87 }