summaryrefslogtreecommitdiffstats
path: root/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/BitbakeRecipeUIElement.java
blob: c8eea7146c4132d2b8e938871bf24de94256ca58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/*******************************************************************************
 * Copyright (c) 2013 Intel Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Intel - initial API and implementation
 * Ioana Grigoropol (Intel) - adapt class for remote support
 *******************************************************************************/
package org.yocto.bc.ui.wizards;

import org.eclipse.jface.viewers.ISelection;
import org.eclipse.swt.widgets.Text;

import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;

public class BitbakeRecipeUIElement {
	
	private String container;
	private String file;
	private String description;
	private String license;
	private String checksum;
	private String homepage;
	private String author;
	private String section;
	private String srcuri;
	private String md5sum;
	private String sha256sum;
	private URI metaDir;
	private ArrayList inheritance;

	public BitbakeRecipeUIElement()
	{
		this.container = "";
		this.file = "";
		this.description = "";
		this.license = "";
		this.checksum = "";
		this.homepage = "";
		this.author = "";
		this.section = "";
		this.srcuri = "";
		this.md5sum = "";
		this.sha256sum = "";
		this.inheritance = new ArrayList();
		try {
			this.metaDir = new URI("");
		} catch (URISyntaxException e) {
			e.printStackTrace();
		}
	}

	public String getContainer() {
		return container;
	}
	public void setContainer(String value) {
		this.container = value;
	}
	public String getFile() {
		return file;
	}
	public void setFile(String value) {
		this.file = value;
	}
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String value) {
		this.description = value;
	}
	
	public String getLicense() {
		return license;
	}
	
	public void setLicense(String value) {
		this.license = value;
	}
	
	public String getChecksum() {
		return checksum;
	}
	public void setChecksum(String value) {
		this.checksum = value;
	}
	
	public String getHomePage() {
		return homepage;
	}
	
	public void setHomePage(String value) {
		this.homepage = value;
	}
	
	public String getAuthor() {
		return author;
	}
	
	public void setAuthor(String value) {
		this.author = value;
	}
	
	public String getSection() {
		return section;
	}
	public void setSection(String value) {
		this.section = value;
	}
	public String getSrcuri() {
		return srcuri;
	}
	public void setSrcuri(String value) {
		this.srcuri = value;
	}
	
	public String getMd5sum() {
		return md5sum;
	}
	
	public void setMd5sum(String value) {
		this.md5sum = value;
	}
	
	public String getsha256sum() {
		return sha256sum;
	}
	
	public void setSha256sum(String value) {
		this.sha256sum = value;
	}
	
	public ArrayList<String> getInheritance() {
		return inheritance;
	}
	
	public void setInheritance(ArrayList<String> value) {
		this.inheritance = value;
	}
	
	public URI getMetaDir() {
		return metaDir;
	}
	
	public void setMetaDir(URI value) {
		metaDir = value;
	}
}