Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.framework / org.gvsig.andami / src / main / java / org / gvsig / andami / persistence / generate / Plugin.java @ 40596

History | View | Annotate | Download (6.76 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
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 3
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
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
/*
25
 * This class was automatically generated with 
26
 * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
27
 * Schema.
28
 * $Id: Plugin.java 29593 2009-06-29 15:54:31Z jpiera $
29
 */
30

    
31
package org.gvsig.andami.persistence.generate;
32

    
33
  //---------------------------------/
34
 //- Imported classes and packages -/
35
//---------------------------------/
36

    
37
import org.exolab.castor.xml.Marshaller;
38
import org.exolab.castor.xml.Unmarshaller;
39

    
40
/**
41
 * Class Plugin.
42
 * 
43
 * @version $Revision: 29593 $ $Date: 2009-06-29 17:54:31 +0200 (lun, 29 jun 2009) $
44
 */
45
public class Plugin implements java.io.Serializable {
46

    
47

    
48
      //--------------------------/
49
     //- Class/Member Variables -/
50
    //--------------------------/
51

    
52
    /**
53
     * Field _name
54
     */
55
    private java.lang.String _name;
56

    
57
    /**
58
     * Field _lastUpdate
59
     */
60
    private java.lang.String _lastUpdate;
61

    
62
    /**
63
     * Field _xmlEntity
64
     */
65
    private org.gvsig.andami.persistence.generate.XmlEntity _xmlEntity;
66

    
67
    /**
68
     * Field _bookmarks
69
     */
70
    private org.gvsig.andami.persistence.generate.Bookmarks _bookmarks;
71

    
72
    /**
73
     * Field _windows
74
     */
75
    private org.gvsig.andami.persistence.generate.Windows _windows;
76

    
77

    
78
      //----------------/
79
     //- Constructors -/
80
    //----------------/
81

    
82
    public Plugin() {
83
        super();
84
    } //-- com.iver.andami.persistence.generate.Plugin()
85

    
86

    
87
      //-----------/
88
     //- Methods -/
89
    //-----------/
90

    
91
    /**
92
     * Returns the value of field 'bookmarks'.
93
     * 
94
     * @return the value of field 'bookmarks'.
95
     */
96
    public org.gvsig.andami.persistence.generate.Bookmarks getBookmarks()
97
    {
98
        return this._bookmarks;
99
    } //-- com.iver.andami.persistence.generate.Bookmarks getBookmarks() 
100

    
101
    /**
102
     * Returns the value of field 'lastUpdate'.
103
     * 
104
     * @return the value of field 'lastUpdate'.
105
     */
106
    public java.lang.String getLastUpdate()
107
    {
108
        return this._lastUpdate;
109
    } //-- java.lang.String getLastUpdate() 
110

    
111
    /**
112
     * Returns the value of field 'name'.
113
     * 
114
     * @return the value of field 'name'.
115
     */
116
    public java.lang.String getName()
117
    {
118
        return this._name;
119
    } //-- java.lang.String getName() 
120

    
121
    /**
122
     * Returns the value of field 'windows'.
123
     * 
124
     * @return the value of field 'windows'.
125
     */
126
    public org.gvsig.andami.persistence.generate.Windows getWindows()
127
    {
128
        return this._windows;
129
    } //-- com.iver.andami.persistence.generate.Windows getWindows() 
130

    
131
    /**
132
     * Returns the value of field 'xmlEntity'.
133
     * 
134
     * @return the value of field 'xmlEntity'.
135
     */
136
    public org.gvsig.andami.persistence.generate.XmlEntity getXmlEntity()
137
    {
138
        return this._xmlEntity;
139
    } //-- com.iver.andami.persistence.generate.XmlEntity getXmlEntity() 
140

    
141
    /**
142
     * Method isValid
143
     */
144
    public boolean isValid()
145
    {
146
        try {
147
            validate();
148
        }
149
        catch (org.exolab.castor.xml.ValidationException vex) {
150
            return false;
151
        }
152
        return true;
153
    } //-- boolean isValid() 
154

    
155
    /**
156
     * Method marshal
157
     * 
158
     * @param out
159
     */
160
    public void marshal(java.io.Writer out)
161
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
162
    {
163
        
164
        Marshaller.marshal(this, out);
165
    } //-- void marshal(java.io.Writer) 
166

    
167
    /**
168
     * Method marshal
169
     * 
170
     * @param handler
171
     */
172
    public void marshal(org.xml.sax.ContentHandler handler)
173
        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
174
    {
175
        
176
        Marshaller.marshal(this, handler);
177
    } //-- void marshal(org.xml.sax.ContentHandler) 
178

    
179
    /**
180
     * Sets the value of field 'bookmarks'.
181
     * 
182
     * @param bookmarks the value of field 'bookmarks'.
183
     */
184
    public void setBookmarks(org.gvsig.andami.persistence.generate.Bookmarks bookmarks)
185
    {
186
        this._bookmarks = bookmarks;
187
    } //-- void setBookmarks(com.iver.andami.persistence.generate.Bookmarks) 
188

    
189
    /**
190
     * Sets the value of field 'lastUpdate'.
191
     * 
192
     * @param lastUpdate the value of field 'lastUpdate'.
193
     */
194
    public void setLastUpdate(java.lang.String lastUpdate)
195
    {
196
        this._lastUpdate = lastUpdate;
197
    } //-- void setLastUpdate(java.lang.String) 
198

    
199
    /**
200
     * Sets the value of field 'name'.
201
     * 
202
     * @param name the value of field 'name'.
203
     */
204
    public void setName(java.lang.String name)
205
    {
206
        this._name = name;
207
    } //-- void setName(java.lang.String) 
208

    
209
    /**
210
     * Sets the value of field 'windows'.
211
     * 
212
     * @param windows the value of field 'windows'.
213
     */
214
    public void setWindows(org.gvsig.andami.persistence.generate.Windows windows)
215
    {
216
        this._windows = windows;
217
    } //-- void setWindows(com.iver.andami.persistence.generate.Windows) 
218

    
219
    /**
220
     * Sets the value of field 'xmlEntity'.
221
     * 
222
     * @param xmlEntity the value of field 'xmlEntity'.
223
     */
224
    public void setXmlEntity(org.gvsig.andami.persistence.generate.XmlEntity xmlEntity)
225
    {
226
        this._xmlEntity = xmlEntity;
227
    } //-- void setXmlEntity(com.iver.andami.persistence.generate.XmlEntity) 
228

    
229
    /**
230
     * Method unmarshal
231
     * 
232
     * @param reader
233
     */
234
    public static java.lang.Object unmarshal(java.io.Reader reader)
235
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
236
    {
237
        return (org.gvsig.andami.persistence.generate.Plugin) Unmarshaller.unmarshal(org.gvsig.andami.persistence.generate.Plugin.class, reader);
238
    } //-- java.lang.Object unmarshal(java.io.Reader) 
239

    
240
    /**
241
     * Method validate
242
     */
243
    public void validate()
244
        throws org.exolab.castor.xml.ValidationException
245
    {
246
        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
247
        validator.validate(this);
248
    } //-- void validate() 
249

    
250
}