tracefw/tracecompiler/src/com.nokia.tracecompiler/src/com/nokia/tracecompiler/engine/rules/ClassNameWrapper.java
equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2007 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 * Wrapper for Class and name |
|
17 * |
|
18 */ |
|
19 package com.nokia.tracecompiler.engine.rules; |
|
20 |
|
21 import com.nokia.tracecompiler.model.TraceModelPersistentExtension; |
|
22 |
|
23 /** |
|
24 * Wrapper for persistent extension class and name |
|
25 * |
|
26 */ |
|
27 class ClassNameWrapper { |
|
28 |
|
29 /** |
|
30 * Constructor |
|
31 * |
|
32 * @param name |
|
33 * the name |
|
34 * @param clasz |
|
35 * the class |
|
36 */ |
|
37 ClassNameWrapper(String name, |
|
38 Class<? extends TraceModelPersistentExtension> clasz) { |
|
39 this.name = name; |
|
40 this.clasz = clasz; |
|
41 } |
|
42 |
|
43 /** |
|
44 * Name for the class |
|
45 */ |
|
46 String name; |
|
47 |
|
48 /** |
|
49 * The class |
|
50 */ |
|
51 Class<? extends TraceModelPersistentExtension> clasz; |
|
52 |
|
53 } |
|