01: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, availible at the root
03: * application directory.
04: */
05: package org.vfny.geoserver.global;
06:
07: import org.geotools.util.NumberRange;
08:
09: /**
10: * Represents a CoverageDimension Attribute.
11: *
12: * @author $Author: Alessio Fabiani (alessio.fabiani@gmail.com) $ (last modification)
13: * @author $Author: Simone Giannecchini (simboss1@gmail.com) $ (last modification)
14: * @version $Id: CoverageDimension.java 6326 2007-03-15 18:36:40Z jdeolive $
15: */
16: public class CoverageDimension extends GlobalLayerSupertype {
17: /**
18: *
19: */
20: private String name;
21:
22: /**
23: *
24: */
25: private String description;
26:
27: /**
28: *
29: */
30: private Double[] nullValues;
31: private NumberRange range;
32:
33: /* (non-Javadoc)
34: * @see org.vfny.geoserver.global.GlobalLayerSupertype#toDTO()
35: */
36: Object toDTO() {
37: return null;
38: }
39:
40: /**
41: * @return Returns the description.
42: */
43: public String getDescription() {
44: return description;
45: }
46:
47: /**
48: * @param description The description to set.
49: */
50: public void setDescription(String description) {
51: this .description = description;
52: }
53:
54: /**
55: * @return Returns the name.
56: */
57: public String getName() {
58: return name;
59: }
60:
61: /**
62: * @param name The name to set.
63: */
64: public void setName(String name) {
65: this .name = name;
66: }
67:
68: /**
69: * @return Returns the nullValues.
70: */
71: public Double[] getNullValues() {
72: return nullValues;
73: }
74:
75: /**
76: * @param nullValues The nullValues to set.
77: */
78: public void setNullValues(Double[] nullValues) {
79: this .nullValues = nullValues;
80: }
81:
82: /**
83: * @param range
84: */
85: public void setRange(NumberRange range) {
86: this .range = range;
87: }
88:
89: public NumberRange getRange() {
90: return range;
91: }
92: }
|