LotInventory.java
/*
* @ Copyright 2001 FA Software;
* All right reserved. No part of this program may be reproduced or
* transmitted in any form or by any means, electronic or
* mechanical, including photocopying, recording, or by any
* information storage or retrieval system without written
* permission from FA Software, except for inclusion of brief
* quotations in a review.
*/
package com.mycim.valueobject.inv;
import java.io.Serializable;
import java.sql.Timestamp;
public class LotInventory implements Serializable {
// --------------------------------------------------------- Instance Variables
private String lotNumber;
private Long itemRrn;
private String materialType;
private Long warehouseRrn;
private String warehouseId;
private Long locationRrn;
private String locationId;
private Timestamp receiptDate;
private Timestamp expirationDate;
private Timestamp reTestDate;
private Timestamp qaApprovalDate;
private String status;
private Double receiptQty;
private Double issueQty;
private Double adjustQty;
private Double availabilityDays;
private Integer issuePriority;
private Double quantity;
private String comment;
private String waferPNType;
private String waferLatticeOrientation;
private String waferResistance;
private String waferExtension;
private String waferSupplierID;
public LotInventory() {
}
// --------------------------------------------------------- Properties
public String getLotNumber() {
return this.lotNumber;
}
public void setLotNumber(String lotNumber) {
this.lotNumber = lotNumber;
}
public Long getItemRrn() {
return this.itemRrn;
}
public void setItemRrn(Long itemRrn) {
this.itemRrn = itemRrn;
}
public String getMaterialType() {
return this.materialType;
}
public void setMaterialType(String materialType) {
this.materialType = materialType;
}
public Long getWarehouseRrn() {
return this.warehouseRrn;
}
public void setWarehouseRrn(Long warehouseRrn) {
this.warehouseRrn = warehouseRrn;
}
public String getWarehouseId() {
return this.warehouseId;
}
public void setWarehouseId(String warehouseId) {
this.warehouseId = warehouseId;
}
public Long getLocationRrn() {
return this.locationRrn;
}
public void setLocationRrn(Long locationRrn) {
this.locationRrn = locationRrn;
}
public String getLocationId() {
return this.locationId;
}
public void setLocationId(String locationId) {
this.locationId = locationId;
}
public Double getReceiptQty() {
return this.receiptQty;
}
public void setReceiptQty(Double receiptQty) {
this.receiptQty = receiptQty;
}
public Double getIssueQty() {
return this.issueQty;
}
public void setIssueQty(Double issueQty) {
this.issueQty = issueQty;
}
public Double getAdjustQty() {
return this.adjustQty;
}
public void setAdjustQty(Double adjustQty) {
this.adjustQty = adjustQty;
}
public Timestamp getReceiptDate() {
return this.receiptDate;
}
public void setReceiptDate(Timestamp receiptDate) {
this.receiptDate = receiptDate;
}
public Timestamp getExpirationDate() {
return this.expirationDate;
}
public void setExpirationDate(Timestamp expirationDate) {
this.expirationDate = expirationDate;
}
public Timestamp getReTestDate() {
return this.reTestDate;
}
public void setReTestDate(Timestamp reTestDate) {
this.reTestDate = reTestDate;
}
public Timestamp getQaApprovalDate() {
return this.qaApprovalDate;
}
public void setQaApprovalDate(Timestamp qaApprovalDate) {
this.qaApprovalDate = qaApprovalDate;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public Double getAvailabilityDays() {
return this.availabilityDays;
}
public void setAvailabilityDays(Double availabilityDays) {
this.availabilityDays = availabilityDays;
}
// issue_priority
public Integer getIssuePriority() {
return this.issuePriority;
}
public void setIssuePriority(Integer issuePriority) {
this.issuePriority = issuePriority;
}
/**
* Return comment.
*/
public String getComment() {
return this.comment;
}
/**
* Set the comment.
*
* @param String comment.
*/
public void setComment(String comment) {
this.comment = comment;
}
// Quantity is added to calculate by receiptQty+adjustQty-issueQty
public Double getQuantity() {
double _double = receiptQty.doubleValue() + adjustQty.doubleValue() - issueQty.doubleValue();
return new Double(_double);
}
public void setQuantity(Double quantity) {
this.quantity = quantity;
}
// -----added
public String getWaferPNType() {
return waferPNType;
}
public void setWaferPNType(String waferPNType) {
this.waferPNType = waferPNType;
}
public String getWaferLatticeOrientation() {
return waferLatticeOrientation;
}
public void setWaferLatticeOrientation(String waferLatticeOrientation) {
this.waferLatticeOrientation = waferLatticeOrientation;
}
public String getWaferResistance() {
return waferResistance;
}
public void setWaferResistance(String waferResistance) {
this.waferResistance = waferResistance;
}
public String getWaferExtension() {
return waferExtension;
}
public void setWaferExtension(String waferExtension) {
this.waferExtension = waferExtension;
}
public String getWaferSupplierID() {
return waferSupplierID;
}
public void setWaferSupplierID(String waferSupplierID) {
this.waferSupplierID = waferSupplierID;
}
}
/*
* Modification Log Log No : Name : Modified Date: Description :
*/