summaryrefslogtreecommitdiffstats
path: root/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/YoctoBspPropertyElement.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/YoctoBspPropertyElement.java')
-rw-r--r--plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/YoctoBspPropertyElement.java65
1 files changed, 65 insertions, 0 deletions
diff --git a/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/YoctoBspPropertyElement.java b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/YoctoBspPropertyElement.java
new file mode 100644
index 0000000..e88b4bd
--- /dev/null
+++ b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/YoctoBspPropertyElement.java
@@ -0,0 +1,65 @@
1/*******************************************************************************
2 * Copyright (c) 2010 Intel Corporation.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * Intel - initial API and implementation
10 *******************************************************************************/
11package org.yocto.sdk.remotetools;
12
13public class YoctoBspPropertyElement implements Comparable<YoctoBspPropertyElement>{
14 private String name;
15 private String type;
16 private String value;
17 private String defaultValue;
18
19 public YoctoBspPropertyElement()
20 {
21 this.name = "";
22 this.type = "";
23 this.value = "";
24 this.defaultValue = "";
25 }
26
27 public String getName() {
28 return name;
29 }
30
31 public void setName(String value) {
32 name = value;
33 }
34
35 public String getType() {
36 return type;
37 }
38
39 public void setType(String value) {
40 type = value;
41 }
42
43 public String getDefaultValue() {
44 return defaultValue;
45 }
46
47 public void setDefaultValue(String value) {
48 this.defaultValue = value;
49 }
50
51 public String getValue() {
52 return value;
53 }
54
55 public void setValue(String value) {
56 this.value = value;
57 }
58
59 @Override
60 public int compareTo(YoctoBspPropertyElement o) {
61 return type.compareTo(o.type);
62 }
63
64
65}