View Javadoc

1   /*
2    * BaseTransport.java
3    *
4    * Created on April 16, 2004, 1:44 PM
5    */
6   
7   package gov.noaa.gdsg.xmldbremote.service.transport;
8   
9   /***
10   * The superclass to all transport objects.
11   * @author tns
12   * @version $Id: BaseTransport.java,v 1.1 2004/10/29 18:06:13 mrxtravis Exp $
13   */
14  public class BaseTransport {
15      
16      /*** Holds value of property transportId. */
17      private long transportId;
18      
19      /*** Creates a new instance of BaseTransport */
20      public BaseTransport() {
21      }
22      
23      /*** Getter for property id.
24       * @return Value of property id.
25       *
26       */
27      public long getTransportId() {
28          return this.transportId;
29      }
30      
31      /***
32       * Setter for property id.
33       * @param transportId New value of property id.
34       */
35      public void setTransportId(long transportId) {
36          this.transportId = transportId;
37      }
38      
39      /***
40       * Uses org.apache.commons.lang.builder.ToStringBuilder.reflectionToString(this)
41       * @return A string rep.
42       */
43      public String toString(){
44          return org.apache.commons.lang.builder.ToStringBuilder.reflectionToString(this);
45      }
46      
47  }