1   package org.org.usurper.dummydomain;
2   
3   import java.io.InputStream;
4   
5   /**
6    * @author David Dossot (david@dossot.net)
7    */
8   public class TelescopicConstructorDummyVO {
9   
10      private final InputStream inputStream;
11  
12      private final String string;
13  
14      private final Integer integer;
15  
16      public TelescopicConstructorDummyVO(InputStream inputStream) {
17          this(inputStream, null, null);
18      }
19  
20      public TelescopicConstructorDummyVO(String string, Integer integer) {
21          this(null, string, integer);
22      }
23  
24      public TelescopicConstructorDummyVO(InputStream inputStream, String string, Integer integer) {
25          this.inputStream = inputStream;
26          this.string = string;
27          this.integer = integer;
28      }
29  
30      /**
31       * @return the inputStream
32       */
33      public InputStream getInputStream() {
34          return inputStream;
35      }
36  
37      /**
38       * @return the integer
39       */
40      public Integer getInteger() {
41          return integer;
42      }
43  
44      /**
45       * @return the string
46       */
47      public String getString() {
48          return string;
49      }
50  
51  }