sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi/src/com/nokia/carbide/cpp/internal/pi/utils/AlphabeticItem.java
equal
deleted
inserted
replaced
|
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 the License "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 |
|
18 package com.nokia.carbide.cpp.internal.pi.utils; |
|
19 |
|
20 public abstract class AlphabeticItem |
|
21 { |
|
22 private String s; |
|
23 public int order; |
|
24 |
|
25 public AlphabeticItem(String s) |
|
26 { |
|
27 this.s = s; |
|
28 this.order = 0; |
|
29 } |
|
30 |
|
31 public AlphabeticItem() |
|
32 { |
|
33 this.s = ""; //$NON-NLS-1$ |
|
34 this.order = 0; |
|
35 } |
|
36 |
|
37 public void setAlphabeticOrderString(String order) |
|
38 { |
|
39 this.s = order; |
|
40 } |
|
41 |
|
42 public int getAlphabeticOrder() |
|
43 { |
|
44 return this.order; |
|
45 } |
|
46 |
|
47 public void setAlphabeticOrder(int order) |
|
48 { |
|
49 this.order = order; |
|
50 } |
|
51 |
|
52 public String toString() |
|
53 { |
|
54 return s; |
|
55 } |
|
56 } |