Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / libraries / org.gvsig.arcims / src / org / gvsig / remoteclient / arcims / ArcImsVectStatus.java @ 32367

History | View | Annotate | Download (2.33 KB)

1
/* gvSIG. Geographic Information System of the Valencian Government
2
 *
3
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
4
 * of the Valencian Government (CIT)
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 2
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 */
22

    
23
/*
24
 * AUTHORS (In addition to CIT):
25
 * 2010 Prodevelop S.L. main development
26
 * http://www.prodevelop.es
27
 */
28

    
29
/**
30
 *
31
 */
32
package org.gvsig.remoteclient.arcims;
33

    
34

    
35
/**
36
 * Extended class to implement specific vectorial state information
37
 * @author jsanz
38
 *
39
 */
40
public class ArcImsVectStatus extends ArcImsStatus {
41
        
42
    private String where;
43
    private String[] subfields;
44

    
45
    /**
46
     * Constructor
47
     */
48
    public ArcImsVectStatus() {
49
        super();
50
        where = "";
51
        subfields = new String[1];
52
        subfields[0] = "#ALL#";
53
    }
54

    
55
    /**
56
     * Clone this object
57
     */
58
    public Object clone() {
59
        ArcImsVectStatus avs = new ArcImsVectStatus();
60
        avs = (ArcImsVectStatus) super.clone();
61
        avs.setWhere(this.getWhere());
62
        avs.setSubfields(this.getSubfields());
63

    
64
        return avs;
65
    }
66

    
67
    /**
68
     * @return Returns the where.
69
     */
70
    public String getWhere() {
71
        return where;
72
    }
73

    
74
    /**
75
     * @param where The where to set.
76
     */
77
    public void setWhere(String where) {
78
        this.where = where;
79
    }
80

    
81
    /**
82
     * @return Returns the subfields.
83
     */
84
    public String[] getSubfields() {
85
        return subfields;
86
    }
87

    
88
    /**
89
     * @param subfields The subfields to set.
90
     */
91
    public void setSubfields(String[] subfields) {
92
        if (subfields == null) {
93
            subfields = new String[1];
94
            subfields[0] = "#ALL#";
95
        }
96

    
97
        this.subfields = subfields;
98
    }
99
}