Layer.java 1.34 KB
Newer Older
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
package eu.simstadt.nf;

/**
 * A layer describes an aspect of a nF product and the type of its data. For instance, a layer could contain
 * all house numbers of all buildings of the product.
 *   
 * @author Marcel Bruse
 *
 */
public class Layer {

	/** The name of the layer. */
	private String name;
	
	/** The name of the product to which this layer belongs. */
	private String product;
	
	/** The style of this layer. Should be a color code (?). */
	private String style;
	
	/**
	 * @return Returns the name of the layer.
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * Sets the name of the layer.
	 * 
	 * @param name The name of the layer.
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * @return Returns the name of the layer's product.
	 */
	public String getProduct() {
		return product;
	}
	
	/**
	 * Sets the product of this layer.
	 *  
	 * @param product The product of this layer.
	 */
	public void setProduct(String product) {
		this.product = product;
	}
	
	/**
	 * @return Returns the style of the layer.
	 */
	public String getStyle() {
		return style;
	}
	
	/**
	 * Sets the style of this layer. Should be a color code (?).
	 * 
	 * @param style The style of this layer.
	 */
	public void setStyle(String style) {
		this.style = style;
	}
	
}