View Javadoc

1   /*
2    * ServiceTransport.java
3    *
4    * Created on April 15, 2004, 5:53 PM
5    */
6   
7   package gov.noaa.gdsg.xmldbremote.service.transport;
8   
9   /***
10   * An object used to represent another object in a different dimension.
11   * @author tns
12   */
13  public class ServiceTransport extends BaseTransport {
14      
15      /*** Holds value of property name. */
16      private String name;
17      
18      /*** Holds value of property version. */
19      private String version;
20      
21      /*** Creates a new instance of ServiceTransport */
22      public ServiceTransport() {
23      }
24      
25      /*** Getter for property collectionTransport.
26       * @return Value of property collectionTransport.
27       *
28       */
29      public String getName() {
30          return this.name;
31      }
32      
33      /***
34       * Setter for property collectionTransport.
35       * @param name The name of the service.
36       */
37      public void setName(String name) {
38          this.name = name;
39      }
40      
41      /*** Getter for property type.
42       * @return Value of property type.
43       *
44       */
45      public String getVersion() {
46          return this.version;
47      }
48      
49      /***
50       * Setter for property type.
51       * @param version The version of the service the object is representing.
52       */
53      public void setVersion(String version) {
54          this.version = version;
55      }
56      
57  }