View Javadoc

1   /*
2    * Copyright 2001-2004 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.jdiagnose.library.web.spring;
17  
18  /***
19   * @author jmccrindle
20   */
21  public class ImportCommand {
22      private byte[] file;
23      private boolean persist;
24      private boolean remoteSystem;
25      
26      public ImportCommand() {
27          
28      }
29      
30      public boolean isPersist() {
31          return persist;
32      }
33      public void setPersist(boolean persist) {
34          this.persist = persist;
35      }
36      public String getSystem() {
37          return system;
38      }
39      public void setSystem(String system) {
40          this.system = system;
41      }
42      private String system;
43      
44      public byte[] getFile() {
45          return file;
46      }
47      public void setFile(byte[] file) {
48          this.file = file;
49      }
50      public boolean isRemoteSystem() {
51          return remoteSystem;
52      }
53      public void setRemoteSystem(boolean remoteSystem) {
54          this.remoteSystem = remoteSystem;
55      }
56  }