| | |
| | | } |
| | | |
| | | |
| | | public boolean beSimilar(LocDetl locDetl){ |
| | | public boolean beSimilar(LocDetl locDetl) { |
| | | return (this.matnr.equals(locDetl.getMatnr()) |
| | | && this.batch.equals(locDetl.getBatch()) |
| | | && this.brand.equals(locDetl.getBrand()) |
| | | && this.standby1.equals(locDetl.getStandby1()) |
| | | && this.standby2.equals(locDetl.getStandby2()) |
| | | && this.standby3.equals(locDetl.getStandby3()) |
| | | && this.boxType1.equals(locDetl.getBoxType1()) |
| | | && this.boxType2.equals(locDetl.getBoxType2()) |
| | | && this.boxType3.equals(locDetl.getBoxType3()) |
| | | && this.batch.equals(locDetl.getBatch()) |
| | | && this.brand.equals(locDetl.getBrand()) |
| | | && this.standby1.equals(locDetl.getStandby1()) |
| | | && this.standby2.equals(locDetl.getStandby2()) |
| | | && this.standby3.equals(locDetl.getStandby3()) |
| | | && this.boxType1.equals(locDetl.getBoxType1()) |
| | | && this.boxType2.equals(locDetl.getBoxType2()) |
| | | && this.boxType3.equals(locDetl.getBoxType3()) |
| | | ); |
| | | } |
| | | |
| | | public boolean beSimilar(WrkDetl wrkDetl){ |
| | | public boolean beSimilar(WrkDetl wrkDetl) { |
| | | return (this.matnr.equals(wrkDetl.getMatnr()) |
| | | && this.batch.equals(wrkDetl.getBatch()) |
| | | && this.brand.equals(wrkDetl.getBrand()) |