javacommons/utils/javasrc/com/nokia/mj/impl/utils/Id.java
changeset 80 d6dafc5d983f
parent 72 1f0034e370aa
equal deleted inserted replaced
78:71ad690e91f5 80:d6dafc5d983f
    17 
    17 
    18 
    18 
    19 package com.nokia.mj.impl.utils;
    19 package com.nokia.mj.impl.utils;
    20 
    20 
    21 /**
    21 /**
    22  * Localisation Identifier. This class is used to hide platform localisation
    22  * Localisation identifier.
    23  * specifics.
       
    24  */
    23  */
    25 public class Id
    24 public class Id
    26 {
    25 {
    27     private String iAvkonLocString = null;
    26     private String iAvkonLocString = null;
    28     private String iQtLocString = null;
    27     private String iQtLocString = null;
    32      */
    31      */
    33     private Id()
    32     private Id()
    34     {
    33     {
    35     }
    34     }
    36 
    35 
       
    36     /**
       
    37      * Localisation identifier with Avkon and Qt type text identifiers.
       
    38      *
       
    39      * @param aAvkonLocString text id fof Avkon based localisation
       
    40      * @param aQtLocString text id for Qt based localisation
       
    41      */
    37     public Id(String aAvkonLocString, String aQtLocString)
    42     public Id(String aAvkonLocString, String aQtLocString)
    38     {
    43     {
    39         this.iAvkonLocString = aAvkonLocString;
    44         this.iAvkonLocString = aAvkonLocString;
    40         this.iQtLocString = aQtLocString;
    45         this.iQtLocString = aQtLocString;
    41     }
    46     }
    46         {
    51         {
    47             return iQtLocString;
    52             return iQtLocString;
    48         }
    53         }
    49         else
    54         else
    50         {
    55         {
    51             return iAvkonLocString;       
    56             return iAvkonLocString;
    52         }
    57         }
    53     }     
    58     }
    54 }
    59 }