sysmodelmgr/com.symbian.smt.gui/src/com/symbian/smt/gui/smtwidgets/resources/CheckableResourceFilename.java
changeset 0 522a326673b6
equal deleted inserted replaced
-1:000000000000 0:522a326673b6
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // CheckableResourceFilename
       
    15 //
       
    16 
       
    17 
       
    18 
       
    19 package com.symbian.smt.gui.smtwidgets.resources;
       
    20 
       
    21 /**
       
    22  * This is a wrapper class that represents the elements that appear in the
       
    23  * resource files table. It encompasses the String representing each and every
       
    24  * file path String representation and a boolean that represents its current
       
    25  * checked state.
       
    26  * 
       
    27  * @author barbararosi-schwartz
       
    28  * 
       
    29  */
       
    30 public class CheckableResourceFilename {
       
    31 
       
    32 	private String filename;
       
    33 	private boolean isChecked;
       
    34 
       
    35 	CheckableResourceFilename(String filename) {
       
    36 		this(filename, false);
       
    37 	}
       
    38 
       
    39 	CheckableResourceFilename(String filename, boolean isChecked) {
       
    40 		this.filename = filename;
       
    41 		this.isChecked = isChecked;
       
    42 	}
       
    43 
       
    44 	String getFilename() {
       
    45 		return filename;
       
    46 	}
       
    47 
       
    48 	boolean isChecked() {
       
    49 		return isChecked;
       
    50 	}
       
    51 
       
    52 	void setChecked(boolean isChecked) {
       
    53 		this.isChecked = isChecked;
       
    54 	}
       
    55 
       
    56 	void setFilename(String filename) {
       
    57 		this.filename = filename;
       
    58 	}
       
    59 
       
    60 }