1 18 19 20 package sync4j.framework.core; 21 22 30 public final class DevInfData 31 extends Data 32 implements java.io.Serializable { 33 private DevInf devInf; 35 36 38 protected DevInfData() {} 39 40 46 public DevInfData(final DevInf devInf) { 47 setDevInf(devInf); 48 } 49 50 52 57 public DevInf getDevInf() { 58 return this.devInf; 59 } 60 61 67 public void setDevInf(DevInf devInf) { 68 if (devInf == null) { 69 throw new IllegalArgumentException ("devInf cannot be null"); 70 } 71 this.devInf = devInf; 72 } 73 } | Popular Tags |