creatorextension/com.nokia.s60tools.creator/src/com/nokia/s60tools/creator/components/contact/ContactVariables.java
author dpodwall
Tue, 12 Jan 2010 13:17:53 -0600
changeset 0 61163b28edca
permissions -rw-r--r--
initial EPL conversion
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     1
/*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     2
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     3
* All rights reserved.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     4
* This component and the accompanying materials are made available
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     6
* which accompanies this distribution, and is available
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     8
*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     9
* Initial Contributors:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    11
*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    12
* Contributors:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    13
*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    14
* Description:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    15
*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    16
*/
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    17
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    18
package com.nokia.s60tools.creator.components.contact;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    19
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    20
import java.util.LinkedHashMap;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    21
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    22
import com.nokia.s60tools.creator.components.AbstractVariables;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    23
import com.nokia.s60tools.creator.components.filetype.FileTypeVariables;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    24
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    25
/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    26
 * Variables for contact
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    27
 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    28
public class ContactVariables extends AbstractVariables
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    29
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    30
{
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    31
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    32
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    33
	 * Constant for founding id element supports <code>incvalueforeachcopy</code>.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    34
	 * S60 Side of Creator is implemented so if "number" or "phone" exist on element name
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    35
	 * it supports <code>incvalueforeachcopy</code>.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    36
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    37
	private static final String NUMBER = "number";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    38
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    39
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    40
	 * Constant for founding id element supports <code>incvalueforeachcopy</code>.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    41
	 * S60 Side of Creator is implemented so if "number" or "phone" exist on element name
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    42
	 * it supports <code>incvalueforeachcopy</code>.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    43
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    44
	private static final String PHONE = "phone";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    45
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    46
	public static final String THUMBNAILID_XML_ELEMENT = "thumbnailid";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    47
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    48
	private static ContactVariables instance;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    49
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    50
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    51
	 * Get Singleton instance of variables
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    52
	 * @return 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    53
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    54
	public static ContactVariables getInstance() {
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    55
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    56
		if (instance == null) {
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    57
			instance = new ContactVariables();
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    58
		}
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    59
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    60
		return instance;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    61
	}
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    62
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    63
	private ContactVariables() {
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    64
		init();
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    65
		initFixedValues();
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    66
	}
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    67
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    68
	protected AbstractVariables getInstanceImpl() {
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    69
		return instance;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    70
	}
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    71
	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    72
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    73
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    74
	 * Label text for "first name" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    75
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    76
	public static final String QTN_PHOB_LBL_FIRST_NAME = "First name";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    77
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    78
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    79
	 * Memory entry item label "Middle name" 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    80
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    81
	public static final String QTN_PHOB_LBL_MIDDLE_NAME = "Middle name";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    82
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    83
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    84
	 * Label text for "last name" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    85
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    86
	public static final String QTN_PHOB_LBL_LAST_NAME = "Last name";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    87
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    88
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    89
	 * Label text for "first name reading" memory entry item, used in japanese
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    90
	 * Phonebook only (not visible in other languages)
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    91
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    92
	public static final String QTN_PHOB_LBL_FIRST_READING = "First name reading";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    93
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    94
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    95
	 * Label text for "last name reading" memory entry item, used in japanese
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    96
	 * Phonebook only (not visible in other languages)
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    97
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    98
	public static final String QTN_PHOB_LBL_LAST_READING = "Last name reading";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    99
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   100
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   101
	 * Label text for prefix memory entry item. l:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   102
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   103
	public static final String QTN_PHOB_LBL_PREFIX = "Prefix";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   104
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   105
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   106
	 * Label text for suffix memory entry item. l:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   107
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   108
	public static final String QTN_PHOB_LBL_SUFFIX = "Suffix";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   109
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   110
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   111
	 * Label text for "Company Name" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   112
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   113
	public static final String QTN_PHOB_LBL_COMPANY_NAME = "Company Name";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   114
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   115
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   116
	 * Memory entry item label "Department" 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   117
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   118
	public static final String QTN_PHOB_LBL_DEPT_NAME = "Department";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   119
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   120
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   121
	 * Label text for "Job Title" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   122
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   123
	public static final String QTN_PHOB_LBL_JOB_TITLE = "Job Title";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   124
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   125
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   126
	 * Label text for "Nick Name" memory entry item. l:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   127
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   128
	public static final String QTN_SIMP_LBL_NICK = "Nick name";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   129
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   130
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   131
	 * Memory entry item label "Assistant name"
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   132
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   133
	public static final String QTN_PHOB_LBL_ASSISTANT_NAME = "Assistant name";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   134
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   135
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   136
	 * Memory entry item label "Spouse" 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   137
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   138
	public static final String QTN_PHOB_LBL_SPOUSE = "Spouse";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   139
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   140
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   141
	 * Memory entry item label "Children" 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   142
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   143
	public static final String QTN_PHOB_LBL_CHILDREN = "Children";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   144
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   145
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   146
	 * Label text for "Phone Number (Standard)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   147
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   148
	public static final String QTN_PHOB_LBL_NUMBER_STANDARD = "Phone Number";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   149
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   150
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   151
	 * Label text for "Phone Number (Home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   152
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   153
	public static final String QTN_PHOB_LBL_NUMBER_HOME = "Phone Number (Home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   154
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   155
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   156
	 * Label text for "Phone Number (Work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   157
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   158
	public static final String QTN_PHOB_LBL_NUMBER_WORK = "Phone Number (Work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   159
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   160
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   161
	 * Label text for "Phone Number (Mobile)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   162
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   163
	public static final String QTN_PHOB_LBL_NUMBER_MOBILE = "Phone Number (Mobile)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   164
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   165
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   166
	 * Label text for "Mobile (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   167
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   168
	public static final String QTN_PHOB_LBL_NUMBER_MOBILE_HOME = "Mobile (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   169
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   170
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   171
	 * Label text for "Mobile (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   172
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   173
	public static final String QTN_PHOB_LBL_NUMBER_MOBILE_WORK = "Mobile (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   174
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   175
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   176
	 * Label text for "video no." memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   177
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   178
	public static final String QTN_PHOB_LBL_VIDEO = "Video no.";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   179
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   180
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   181
	 * Label text for "video no. (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   182
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   183
	public static final String QTN_PHOB_LBL_VIDEO_HOME = "Video no. (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   184
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   185
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   186
	 * Label text for "video no. (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   187
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   188
	public static final String QTN_PHOB_LBL_VIDEO_WORK = "Video no. (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   189
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   190
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   191
	 * Memory entry item label "Car phone"
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   192
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   193
	public static final String QTN_PHOB_LBL_CAR_TEL = "Car phone";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   194
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   195
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   196
	 * Memory entry item label "Assistant phone"
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   197
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   198
	public static final String QTN_PHOB_LBL_NUMBER_ASSISTANT = "Assistant phone";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   199
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   200
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   201
	 * Label text for "VOIP call" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   202
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   203
	public static final String QTN_PHOB_LBL_VOIP = "Tel. Internet";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   204
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   205
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   206
	 * Label text for "VOIP call (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   207
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   208
	public static final String QTN_PHOB_LBL_VOIP_HOME = "Tel. Internet (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   209
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   210
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   211
	 * Label text for "VOIP call (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   212
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   213
	public static final String QTN_PHOB_LBL_VOIP_WORK = "Tel. Internet (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   214
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   215
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   216
	 * Label text for "push to talk" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   217
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   218
	public static final String QTN_PHOB_LBL_POC = "PTT";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   219
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   220
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   221
	 * Label text for "share view" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   222
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   223
	public static final String QTN_PHOB_LBL_SWIS = "Share view";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   224
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   225
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   226
	 * Label text for "SIP" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   227
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   228
	public static final String QTN_PHOB_LBL_SIP = "SIP";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   229
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   230
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   231
	 * Label text for "Fax Number" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   232
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   233
	public static final String QTN_PHOB_LBL_FAX = "Fax";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   234
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   235
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   236
	 * Label text for "Fax (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   237
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   238
	public static final String QTN_PHOB_LBL_FAX_HOME = "Fax (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   239
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   240
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   241
	 * Label text for "Fax (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   242
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   243
	public static final String QTN_PHOB_LBL_FAX_WORK = "Fax (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   244
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   245
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   246
	 * Label text for "Pager Number" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   247
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   248
	public static final String QTN_PHOB_LBL_PAGER = "Pager Number";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   249
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   250
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   251
	 * Label text for "Email Address" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   252
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   253
	public static final String QTN_PHOB_LBL_EMAIL = "Email";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   254
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   255
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   256
	 * Label text for "Email (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   257
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   258
	public static final String QTN_PHOB_LBL_EMAIL_HOME = "Email (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   259
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   260
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   261
	 * Label text for "Email (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   262
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   263
	public static final String QTN_PHOB_LBL_EMAIL_WORK = "Email (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   264
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   265
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   266
	 * Label text for "URL" memory entry item 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   267
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   268
	public static final String QTN_PHOB_LBL_URL = "URL";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   269
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   270
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   271
	 * Label text for "URL (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   272
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   273
	public static final String QTN_PHOB_LBL_URL_HOME = "URL (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   274
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   275
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   276
	 * Label text for "URL (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   277
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   278
	public static final String QTN_PHOB_LBL_URL_WORK = "URL (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   279
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   280
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   281
	 * Label text for "Postal Address" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   282
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   283
	public static final String QTN_PHOB_LBL_ADDRESS = "Postal Address";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   284
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   285
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   286
	 * Label text for "P.O.Box" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   287
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   288
	public static final String QTN_PHOB_LBL_POBOX = "P.O.Box";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   289
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   290
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   291
	 * Label text for "Extencion" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   292
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   293
	public static final String QTN_PHOB_LBL_EXTENCION = "Extension";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   294
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   295
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   296
	 * Label text for "Street" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   297
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   298
	public static final String QTN_PHOB_LBL_STREET = "Street";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   299
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   300
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   301
	 * Label text for "Postal code" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   302
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   303
	public static final String QTN_PHOB_LBL_POSTAL_CODE = "Postal code";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   304
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   305
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   306
	 * Label text for "City" memory entry item 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   307
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   308
	public static final String QTN_PHOB_LBL_CITY = "City";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   309
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   310
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   311
	 * Label text for "State" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   312
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   313
	public static final String QTN_PHOB_LBL_STATE = "State";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   314
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   315
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   316
	 * Label text for "Country" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   317
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   318
	public static final String QTN_PHOB_LBL_COUNTRY = "Country";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   319
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   320
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   321
	 * Label text for "Address (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   322
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   323
	public static final String QTN_PHOB_LBL_ADDRESS_HOME = "Address (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   324
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   325
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   326
	 * Label text for "P.O.Box (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   327
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   328
	public static final String QTN_PHOB_LBL_POBOX_HOME = "P.O.Box (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   329
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   330
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   331
	 * Label text for "Extencion (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   332
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   333
	public static final String QTN_PHOB_LBL_EXTENCION_HOME = "Extension (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   334
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   335
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   336
	 * Label text for "Street (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   337
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   338
	public static final String QTN_PHOB_LBL_STREET_HOME = "Street (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   339
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   340
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   341
	 * Label text for "Postal code (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   342
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   343
	public static final String QTN_PHOB_LBL_POSTAL_CODE_HOME = "Postal code (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   344
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   345
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   346
	 * Label text for "City (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   347
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   348
	public static final String QTN_PHOB_LBL_CITY_HOME = "City (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   349
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   350
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   351
	 * Label text for "State (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   352
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   353
	public static final String QTN_PHOB_LBL_STATE_HOME = "State (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   354
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   355
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   356
	 * Label text for "Country (home)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   357
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   358
	public static final String QTN_PHOB_LBL_COUNTRY_HOME = "Country (home)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   359
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   360
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   361
	 * Label text for "Address (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   362
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   363
	public static final String QTN_PHOB_LBL_ADDRESS_WORK = "Address (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   364
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   365
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   366
	 * Label text for "P.O.Box (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   367
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   368
	public static final String QTN_PHOB_LBL_POBOX_WORK = "P.O.Box (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   369
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   370
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   371
	 * Label text for "Extencion (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   372
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   373
	public static final String QTN_PHOB_LBL_EXTENCION_WORK = "Extension (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   374
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   375
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   376
	 * Label text for "Street (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   377
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   378
	public static final String QTN_PHOB_LBL_STREET_WORK = "Street (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   379
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   380
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   381
	 * Label text for "Postal code (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   382
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   383
	public static final String QTN_PHOB_LBL_POSTAL_CODE_WORK = "Postal code (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   384
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   385
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   386
	 * Label text for "City (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   387
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   388
	public static final String QTN_PHOB_LBL_CITY_WORK = "City (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   389
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   390
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   391
	 * Label text for "State (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   392
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   393
	public static final String QTN_PHOB_LBL_STATE_WORK = "State (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   394
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   395
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   396
	 * Label text for "Country (work)" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   397
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   398
	public static final String QTN_PHOB_LBL_COUNTRY_WORK = "Country (work)";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   399
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   400
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   401
	 * Label text for "DTMF String" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   402
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   403
	public static final String QTN_PHOB_LBL_DTMF = "DTMF";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   404
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   405
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   406
	 * Label text for "Date" memory entry item 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   407
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   408
	public static final String QTN_PHOB_LBL_DATE = "Birthday";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   409
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   410
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   411
	 * Memory entry item label "Anniversary" 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   412
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   413
	public static final String QTN_PHOB_LBL_ANNIVERSARY = "Anniversary";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   414
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   415
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   416
	 * Label text for "Note" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   417
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   418
	public static final String QTN_PHOB_LBL_NOTE = "Note";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   419
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   420
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   421
	 * Memory entry item label "Synchronization"
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   422
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   423
	public static final String QTN_PHOB_LBL_SYNCHRONIZATION = "Synchronization";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   424
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   425
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   426
	 * Label text for "thumbnail" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   427
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   428
	public static final String QTN_PHOB_LBL_THUMBNAILPATH = "Thumbnail path";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   429
	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   430
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   431
	 * Label for Thumbnail ID, not existing value in S60 Device, only occurs in script mode.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   432
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   433
	public static final String QTN_PHOB_LBL_THUMBNAILID = "Thumbnail ID";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   434
	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   435
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   436
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   437
	 * Label text for "Image" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   438
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   439
	public static final String QTN_PHOB_LBL_IMAGE = "Image";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   440
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   441
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   442
	 * Label text for "Text for call" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   443
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   444
	public static final String QTN_PHOB_LBL_TEXT = "Text for call";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   445
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   446
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   447
	 * Label text for "Personal Ringing Tone Indication" memory entry item
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   448
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   449
	public static final String QTN_PHOB_LBL_TONE = "Ring tone path";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   450
	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   451
	//
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   452
	//few items found also in VPbkEngFieldTypes.rss, but those cause Emulator to crash, so not taken into use
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   453
	//
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   454
	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   455
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   456
	 * Label text for Location privacy indicator, found in VPbkEngFieldTypes.rss
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   457
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   458
	public static final String R_VPBK_FIELD_TYPE_LOCPRIVACY = "Location privacy indicator";
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   459
	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   460
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   461
	 * Label text for Wv(IM) address, found in VPbkEngFieldTypes.rss
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   462
	 */	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   463
	public static final String R_VPBK_FIELD_TYPE_WVADDRESS = "Wv(IM) address";	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   464
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   465
	private void init() {
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   466
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   467
		items = new LinkedHashMap<String, String>(71);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   468
		
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   469
		//First 10 items exist in same order that they appear in Device when creating new contact
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   470
		
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   471
		items.put("firstname", QTN_PHOB_LBL_FIRST_NAME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   472
		items.put("lastname", QTN_PHOB_LBL_LAST_NAME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   473
		items.put("mobilephonegen", QTN_PHOB_LBL_NUMBER_MOBILE);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   474
		items.put("landphonegen", QTN_PHOB_LBL_NUMBER_STANDARD);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   475
		items.put("emailgen", QTN_PHOB_LBL_EMAIL);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   476
		items.put("videonumbergen", QTN_PHOB_LBL_VIDEO);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   477
		items.put("voipgen", QTN_PHOB_LBL_VOIP);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   478
		items.put("poc", QTN_PHOB_LBL_POC);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   479
		items.put("company", QTN_PHOB_LBL_COMPANY_NAME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   480
		items.put("jobtitle", QTN_PHOB_LBL_JOB_TITLE);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   481
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   482
		items.put("note", QTN_PHOB_LBL_NOTE);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   483
		items.put("middlename", QTN_PHOB_LBL_MIDDLE_NAME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   484
		items.put("secondname", QTN_SIMP_LBL_NICK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   485
		
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   486
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   487
		items.put("prefix", QTN_PHOB_LBL_PREFIX);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   488
		items.put("suffix", QTN_PHOB_LBL_SUFFIX);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   489
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   490
		items.put("addrlabelgen", QTN_PHOB_LBL_ADDRESS);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   491
		items.put("addrpogen", QTN_PHOB_LBL_POBOX);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   492
		items.put("addrextgen", QTN_PHOB_LBL_EXTENCION);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   493
		items.put("addrstreetgen", QTN_PHOB_LBL_STREET);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   494
		items.put("addrlocalgen", QTN_PHOB_LBL_CITY);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   495
		items.put("addrregiongen", QTN_PHOB_LBL_STATE);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   496
		items.put("addrpostcodegen", QTN_PHOB_LBL_POSTAL_CODE);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   497
		items.put("addrcountrygen", QTN_PHOB_LBL_COUNTRY);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   498
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   499
		items.put("addrlabelhome", QTN_PHOB_LBL_ADDRESS_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   500
		items.put("addrpohome", QTN_PHOB_LBL_POBOX_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   501
		items.put("addrexthome", QTN_PHOB_LBL_EXTENCION_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   502
		items.put("addrstreethome", QTN_PHOB_LBL_STREET_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   503
		items.put("addrlocalhome", QTN_PHOB_LBL_CITY_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   504
		items.put("addrregionhome", QTN_PHOB_LBL_STATE_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   505
		items.put("addrpostcodehome", QTN_PHOB_LBL_POSTAL_CODE_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   506
		items.put("addrcountryhome", QTN_PHOB_LBL_COUNTRY_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   507
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   508
		items.put("addrlabelwork", QTN_PHOB_LBL_ADDRESS_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   509
		items.put("addrpowork", QTN_PHOB_LBL_POBOX_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   510
		items.put("addrextwork", QTN_PHOB_LBL_EXTENCION_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   511
		items.put("addrstreetwork", QTN_PHOB_LBL_STREET_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   512
		items.put("addrlocalwork", QTN_PHOB_LBL_CITY_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   513
		items.put("addrregionwork", QTN_PHOB_LBL_STATE_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   514
		items.put("addrpostcodework", QTN_PHOB_LBL_POSTAL_CODE_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   515
		items.put("addrcountrywork", QTN_PHOB_LBL_COUNTRY_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   516
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   517
		items.put("swis", QTN_PHOB_LBL_SWIS);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   518
		items.put("sip", QTN_PHOB_LBL_SIP);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   519
		items.put("dtmfstring", QTN_PHOB_LBL_DTMF);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   520
		items.put("department", QTN_PHOB_LBL_DEPT_NAME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   521
		items.put("asstname", QTN_PHOB_LBL_ASSISTANT_NAME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   522
		items.put("spouse", QTN_PHOB_LBL_SPOUSE);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   523
		items.put("children", QTN_PHOB_LBL_CHILDREN);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   524
		items.put("anniversary", QTN_PHOB_LBL_ANNIVERSARY);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   525
		items.put("synchronization", QTN_PHOB_LBL_SYNCHRONIZATION);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   526
		items.put("thumbnailpath", QTN_PHOB_LBL_THUMBNAILPATH);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   527
		items.put(THUMBNAILID_XML_ELEMENT, QTN_PHOB_LBL_THUMBNAILID);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   528
		items.put("callerobjtext",QTN_PHOB_LBL_TEXT);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   529
		items.put("ringtonepath",QTN_PHOB_LBL_TONE);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   530
		items.put("callerobjimg",QTN_PHOB_LBL_IMAGE);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   531
		items.put("birthday",QTN_PHOB_LBL_DATE);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   532
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   533
		items.put("landphonehome", QTN_PHOB_LBL_NUMBER_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   534
		items.put("landphonework", QTN_PHOB_LBL_NUMBER_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   535
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   536
		items.put("mobilephonehome", QTN_PHOB_LBL_NUMBER_MOBILE_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   537
		items.put("mobilephonework", QTN_PHOB_LBL_NUMBER_MOBILE_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   538
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   539
		items.put("faxnumbergen", QTN_PHOB_LBL_FAX);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   540
		items.put("faxnumberhome", QTN_PHOB_LBL_FAX_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   541
		items.put("faxnumberwork", QTN_PHOB_LBL_FAX_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   542
		items.put("pagernumber", QTN_PHOB_LBL_PAGER);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   543
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   544
		items.put("videonumberhome", QTN_PHOB_LBL_VIDEO_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   545
		items.put("videonumberwork", QTN_PHOB_LBL_VIDEO_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   546
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   547
		items.put("voiphome", QTN_PHOB_LBL_VOIP_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   548
		items.put("voipwork", QTN_PHOB_LBL_VOIP_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   549
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   550
		items.put("asstphone", QTN_PHOB_LBL_NUMBER_ASSISTANT);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   551
		items.put("carphone", QTN_PHOB_LBL_CAR_TEL);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   552
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   553
		items.put("urlgen", QTN_PHOB_LBL_URL);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   554
		items.put("urlhome", QTN_PHOB_LBL_URL_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   555
		items.put("urlwork", QTN_PHOB_LBL_URL_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   556
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   557
		items.put("emailhome", QTN_PHOB_LBL_EMAIL_HOME);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   558
		items.put("emailwork", QTN_PHOB_LBL_EMAIL_WORK);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   559
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   560
		
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   561
		//Following items not found in devices and causes emulator crash, can be taken into use if wanted
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   562
		//items found in VPbkEngFieldTypes.rss
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   563
		items.put("locprivacy",R_VPBK_FIELD_TYPE_LOCPRIVACY);//r_vpbk_field_type_locprivacy (Location privacy indicator)
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   564
		items.put("wvaddress", R_VPBK_FIELD_TYPE_WVADDRESS);//R_VPBK_FIELD_TYPE_WVADDRESS (Wv(IM) address)
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   565
	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   566
	}
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   567
	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   568
	private void initFixedValues(){
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   569
		itemsValues = new LinkedHashMap<String, String[]>(4);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   570
		itemsValues.put(THUMBNAILID_XML_ELEMENT, FileTypeVariables.ALL_PICTURE_FILE_TYPES_AS_COMMA_SEPARATED_STRING);		
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   571
	}
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   572
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   573
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   574
	 * Check if <code>incvalueforeachcopy</code> is supported for type.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   575
	 * @param type as in UI, not as in XML.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   576
	 * @return <code>true</code> if <code>incvalueforeachcopy</code> is supported.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   577
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   578
	public boolean isTypeSupportingIncValueForEachCopy(String type) {
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   579
		
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   580
		//phone number
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   581
		String id = getIdByValue(type);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   582
		if(id == null){
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   583
			return false;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   584
		}
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   585
		
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   586
		return id.contains(PHONE)  || id.contains(NUMBER);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   587
	}
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   588
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   589
}