1 11 import org.ozoneDB.OzoneObject; 12 13 14 public class OO7_ConnectionImpl extends OzoneObject implements OO7_Connection { 15 String theType; 16 long theLength; 17 OO7_AtomicPart theFrom; 18 OO7_AtomicPart theTo; 19 20 21 public OO7_ConnectionImpl() { 22 theType = new String ( "" ); 23 } 24 25 26 public void setType( String x ) { 27 theType = x; 28 } 29 30 31 public String type() { 32 return theType; 33 } 34 35 36 public void setLength( long x ) { 37 theLength = x; 38 } 39 40 41 public long length() { 42 return theLength; 43 } 44 45 46 public void setFrom( OO7_AtomicPart x ) { 47 theFrom = x; 48 } 49 50 51 public OO7_AtomicPart from() { 52 return theFrom; 53 } 54 55 56 public void setTo( OO7_AtomicPart x ) { 57 theTo = x; 58 } 59 60 61 public OO7_AtomicPart to() { 62 return theTo; 63 } 64 } 65 | Popular Tags |