summaryrefslogtreecommitdiffstats
path: root/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/BitbakeRecipeUIElement.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/BitbakeRecipeUIElement.java')
-rw-r--r--plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/BitbakeRecipeUIElement.java153
1 files changed, 153 insertions, 0 deletions
diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/BitbakeRecipeUIElement.java b/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/BitbakeRecipeUIElement.java
new file mode 100644
index 0000000..c8eea71
--- /dev/null
+++ b/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/BitbakeRecipeUIElement.java
@@ -0,0 +1,153 @@
1/*******************************************************************************
2 * Copyright (c) 2013 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 * Ioana Grigoropol (Intel) - adapt class for remote support
11 *******************************************************************************/
12package org.yocto.bc.ui.wizards;
13
14import org.eclipse.jface.viewers.ISelection;
15import org.eclipse.swt.widgets.Text;
16
17import java.net.URI;
18import java.net.URISyntaxException;
19import java.util.ArrayList;
20
21public class BitbakeRecipeUIElement {
22
23 private String container;
24 private String file;
25 private String description;
26 private String license;
27 private String checksum;
28 private String homepage;
29 private String author;
30 private String section;
31 private String srcuri;
32 private String md5sum;
33 private String sha256sum;
34 private URI metaDir;
35 private ArrayList inheritance;
36
37 public BitbakeRecipeUIElement()
38 {
39 this.container = "";
40 this.file = "";
41 this.description = "";
42 this.license = "";
43 this.checksum = "";
44 this.homepage = "";
45 this.author = "";
46 this.section = "";
47 this.srcuri = "";
48 this.md5sum = "";
49 this.sha256sum = "";
50 this.inheritance = new ArrayList();
51 try {
52 this.metaDir = new URI("");
53 } catch (URISyntaxException e) {
54 e.printStackTrace();
55 }
56 }
57
58 public String getContainer() {
59 return container;
60 }
61 public void setContainer(String value) {
62 this.container = value;
63 }
64 public String getFile() {
65 return file;
66 }
67 public void setFile(String value) {
68 this.file = value;
69 }
70 public String getDescription() {
71 return description;
72 }
73
74 public void setDescription(String value) {
75 this.description = value;
76 }
77
78 public String getLicense() {
79 return license;
80 }
81
82 public void setLicense(String value) {
83 this.license = value;
84 }
85
86 public String getChecksum() {
87 return checksum;
88 }
89 public void setChecksum(String value) {
90 this.checksum = value;
91 }
92
93 public String getHomePage() {
94 return homepage;
95 }
96
97 public void setHomePage(String value) {
98 this.homepage = value;
99 }
100
101 public String getAuthor() {
102 return author;
103 }
104
105 public void setAuthor(String value) {
106 this.author = value;
107 }
108
109 public String getSection() {
110 return section;
111 }
112 public void setSection(String value) {
113 this.section = value;
114 }
115 public String getSrcuri() {
116 return srcuri;
117 }
118 public void setSrcuri(String value) {
119 this.srcuri = value;
120 }
121
122 public String getMd5sum() {
123 return md5sum;
124 }
125
126 public void setMd5sum(String value) {
127 this.md5sum = value;
128 }
129
130 public String getsha256sum() {
131 return sha256sum;
132 }
133
134 public void setSha256sum(String value) {
135 this.sha256sum = value;
136 }
137
138 public ArrayList<String> getInheritance() {
139 return inheritance;
140 }
141
142 public void setInheritance(ArrayList<String> value) {
143 this.inheritance = value;
144 }
145
146 public URI getMetaDir() {
147 return metaDir;
148 }
149
150 public void setMetaDir(URI value) {
151 metaDir = value;
152 }
153}