testdev/ite/src/com.nokia.testfw.codegen/src/com/nokia/testfw/codegen/ChangeFileContent.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 "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 package com.nokia.testfw.codegen; |
|
18 |
|
19 /** |
|
20 * @author k21wang |
|
21 * |
|
22 */ |
|
23 public class ChangeFileContent { |
|
24 |
|
25 |
|
26 private String oldContent; |
|
27 private String newContent; |
|
28 private String filePath; |
|
29 |
|
30 /** |
|
31 * @return the filePath |
|
32 */ |
|
33 public String getFilePath() { |
|
34 return filePath; |
|
35 } |
|
36 |
|
37 /** |
|
38 * @param filePath the filePath to set |
|
39 */ |
|
40 public void setFilePath(String filePath) { |
|
41 this.filePath = filePath; |
|
42 } |
|
43 |
|
44 /** |
|
45 * Gets new element |
|
46 * |
|
47 * @return |
|
48 * new element |
|
49 */ |
|
50 public String getNewContent() { |
|
51 return newContent; |
|
52 } |
|
53 |
|
54 /** |
|
55 * Gets old element |
|
56 * |
|
57 * @return |
|
58 * old element |
|
59 */ |
|
60 public String getOldContent() { |
|
61 return oldContent; |
|
62 } |
|
63 |
|
64 /** |
|
65 * Sets new element |
|
66 * |
|
67 * @param newContent |
|
68 * new element |
|
69 */ |
|
70 public void setNewContent(String newContent) { |
|
71 this.newContent = newContent; |
|
72 } |
|
73 |
|
74 /** |
|
75 * Sets old element |
|
76 * |
|
77 * @param oldContent |
|
78 * old element |
|
79 */ |
|
80 public void setOldContent(String oldContent) { |
|
81 this.oldContent = oldContent; |
|
82 } |
|
83 |
|
84 } |