Material.java
package com.mycim.valueobject.asm;
/*
* @ 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.
*/
import com.mycim.valueobject.bas.NamedObject;
/**
* Schema value object represents a Material
*
* @author
* @version 1.0 Created on Tue Nov 19 13:05:44 CST 2002
* @see NamedObject ;
*/
public class Material extends NamedObject {
// --------------------------------------------------------- Instance Variables
/**
* itemExtendNumber.
*/
private String itemExtendNumber;
/**
* itemClass.
*/
private String itemClass;
/**
* defaultWarehouseRrn.
*/
private Long defaultWarehouseRrn;
/**
* defaultWarehouseId.
*/
private String defaultWarehouseId;
/**
* defaultLocationRrn.
*/
private Long defaultLocationRrn;
/**
* defaultLocationId.
*/
private String defaultLocationId;
/**
* openingBalance.
*/
private Double openingBalance;
/**
* receiptQty.
*/
private Double receiptQty;
/**
* issueQty.
*/
private Double issueQty;
/**
* adjustQty.
*/
private Double adjustQty;
/**
* storeUom.
*/
private String storeUom;
/**
* purchaseUom.
*/
private String purchaseUom;
/**
* salesUom.
*/
private String salesUom;
/**
* lotTrackingFlag.
*/
private String lotTrackingFlag;
/**
* productFamilyRrn.
*/
private Long productFamilyRrn;
/**
* productFamilyId.
*/
private String productFamilyId;
/**
* subproductFlag.
*/
private String subproductFlag;
/**
* productEngineerRrn.
*/
private Long productEngineerRrn;
/**
* productEngineerId.
*/
private String productEngineerId;
/**
* holdOnLowYield.
*/
private Double holdOnLowYield;
/**
* expirationLength.
*/
private Integer expirationLength;
/**
* expirationAlarmId.
*/
private String expirationAlarmId;
private Double quantity;
private Double quantityOfWarning;
private String warningAlarmId;
private String materialOwner;
private String waferSize;
private String maskId;
/**
* storeUom.
*/
private String storeUomDesc;
public Material() {
}
public Material(String instanceId, String namedSpace, String object) {
super(instanceId, namedSpace, object);
}
// --------------------------------------------------------- Properties
/**
* Return itemExtendNumber.
*/
public String getItemExtendNumber() {
return this.itemExtendNumber;
}
/**
* Set the itemExtendNumber.
*
* @param String itemExtendNumber.
*/
public void setItemExtendNumber(String itemExtendNumber) {
this.itemExtendNumber = itemExtendNumber;
}
/**
* Return itemClass.
*/
public String getItemClass() {
return this.itemClass;
}
/**
* Set the itemClass.
*
* @param String itemClass.
*/
public void setItemClass(String itemClass) {
this.itemClass = itemClass;
}
/**
* Return defaultWarehouseRrn.
*/
public Long getDefaultWarehouseRrn() {
return this.defaultWarehouseRrn;
}
/**
* Set the defaultWarehouseRrn.
*
* @param Long defaultWarehouseRrn.
*/
public void setDefaultWarehouseRrn(Long defaultWarehouseRrn) {
this.defaultWarehouseRrn = defaultWarehouseRrn;
}
/**
* Return defaultWarehouseId.
*/
public String getDefaultWarehouseId() {
return this.defaultWarehouseId;
}
/**
* Set the defaultWarehouseId.
*
* @param String defaultWarehouseId.
*/
public void setDefaultWarehouseId(String defaultWarehouseId) {
this.defaultWarehouseId = defaultWarehouseId;
}
/**
* Return defaultLocationRrn.
*/
public Long getDefaultLocationRrn() {
return this.defaultLocationRrn;
}
/**
* Set the defaultLocationRrn.
*
* @param Long defaultLocationRrn.
*/
public void setDefaultLocationRrn(Long defaultLocationRrn) {
this.defaultLocationRrn = defaultLocationRrn;
}
/**
* Return defaultLocationId.
*/
public String getDefaultLocationId() {
return this.defaultLocationId;
}
/**
* Set the defaultLocationId.
*
* @param String defaultLocationId.
*/
public void setDefaultLocationId(String defaultLocationId) {
this.defaultLocationId = defaultLocationId;
}
/**
* Return openingBalance.
*/
public Double getOpeningBalance() {
return this.openingBalance;
}
/**
* Set the openingBalance.
*
* @param Double openingBalance.
*/
public void setOpeningBalance(Double openingBalance) {
this.openingBalance = openingBalance;
}
/**
* Return receiptQty.
*/
public Double getReceiptQty() {
return this.receiptQty;
}
/**
* Set the receiptQty.
*
* @param Double receiptQty.
*/
public void setReceiptQty(Double receiptQty) {
this.receiptQty = receiptQty;
}
/**
* Return issueQty.
*/
public Double getIssueQty() {
return this.issueQty;
}
/**
* Set the issueQty.
*
* @param Double issueQty.
*/
public void setIssueQty(Double issueQty) {
this.issueQty = issueQty;
}
/**
* Return adjustQty.
*/
public Double getAdjustQty() {
return this.adjustQty;
}
/**
* Set the adjustQty.
*
* @param Double adjustQty.
*/
public void setAdjustQty(Double adjustQty) {
this.adjustQty = adjustQty;
}
/**
* Return storeUom.
*/
public String getStoreUom() {
return this.storeUom;
}
/**
* Set the storeUom.
*
* @param String storeUom.
*/
public void setStoreUom(String storeUom) {
this.storeUom = storeUom;
}
/**
* Return purchaseUom.
*/
public String getPurchaseUom() {
return this.purchaseUom;
}
/**
* Set the purchaseUom.
*
* @param String purchaseUom.
*/
public void setPurchaseUom(String purchaseUom) {
this.purchaseUom = purchaseUom;
}
/**
* Return salesUom.
*/
public String getSalesUom() {
return this.salesUom;
}
/**
* Set the salesUom.
*
* @param String salesUom.
*/
public void setSalesUom(String salesUom) {
this.salesUom = salesUom;
}
/**
* Return lotTrackingFlag.
*/
public String getLotTrackingFlag() {
return this.lotTrackingFlag;
}
/**
* Set the lotTrackingFlag.
*
* @param String lotTrackingFlag.
*/
public void setLotTrackingFlag(String lotTrackingFlag) {
this.lotTrackingFlag = lotTrackingFlag;
}
/**
* Return productFamilyRrn.
*/
public Long getProductFamilyRrn() {
return this.productFamilyRrn;
}
/**
* Set the productFamilyRrn.
*
* @param Long productFamilyRrn.
*/
public void setProductFamilyRrn(Long productFamilyRrn) {
this.productFamilyRrn = productFamilyRrn;
}
/**
* Return productFamilyId.
*/
public String getProductFamilyId() {
return this.productFamilyId;
}
/**
* Set the productFamilyId.
*
* @param String productFamilyId.
*/
public void setProductFamilyId(String productFamilyId) {
this.productFamilyId = productFamilyId;
}
/**
* Return subproductFlag.
*/
public String getSubproductFlag() {
return this.subproductFlag;
}
/**
* Set the subproductFlag.
*
* @param String subproductFlag.
*/
public void setSubproductFlag(String subproductFlag) {
this.subproductFlag = subproductFlag;
}
/**
* Return productEngineerRrn.
*/
public Long getProductEngineerRrn() {
return this.productEngineerRrn;
}
/**
* Set the productEngineerRrn.
*
* @param Long productEngineerRrn.
*/
public void setProductEngineerRrn(Long productEngineerRrn) {
this.productEngineerRrn = productEngineerRrn;
}
/**
* Return productEngineerId.
*/
public String getProductEngineerId() {
return this.productEngineerId;
}
/**
* Set the productEngineerId.
*
* @param String productEngineerId.
*/
public void setProductEngineerId(String productEngineerId) {
this.productEngineerId = productEngineerId;
}
/**
* Return holdOnLowYield.
*/
public Double getHoldOnLowYield() {
return this.holdOnLowYield;
}
/**
* Set the holdOnLowYield.
*
* @param Double holdOnLowYield.
*/
public void setHoldOnLowYield(Double holdOnLowYield) {
this.holdOnLowYield = holdOnLowYield;
}
/**
* Return expirationLength.
*/
public Integer getExpirationLength() {
return this.expirationLength;
}
/**
* Set the expirationLength.
*
* @param Integer expirationLength.
*/
public void setExpirationLength(Integer expirationLength) {
this.expirationLength = expirationLength;
}
/**
* Return expirationAlarmId.
*/
public String getExpirationAlarmId() {
return this.expirationAlarmId;
}
/**
* Set the expirationAlarmId.
*
* @param String expirationAlarmId.
*/
public void setExpirationAlarmId(String expirationAlarmId) {
this.expirationAlarmId = expirationAlarmId;
}
public Double getQuantity() {
double _double = receiptQty.doubleValue() + adjustQty.doubleValue() - issueQty.doubleValue();
return new Double(_double);
}
public void setQuantity(Double quantity) {
this.quantity = quantity;
}
public Double getQuantityOfWarning() {
return this.quantityOfWarning;
}
public void setQuantityOfWarning(Double quantityOfWarning) {
this.quantityOfWarning = quantityOfWarning;
}
public String getWarningAlarmId() {
return this.warningAlarmId;
}
public void setWarningAlarmId(String warningAlarmId) {
this.warningAlarmId = warningAlarmId;
}
public String getMaterialOwner() {
return this.materialOwner;
}
public void setMaterialOwner(String materialOwner) {
this.materialOwner = materialOwner;
}
public String getWaferSize() {
return this.waferSize;
}
public void setWaferSize(String waferSize) {
this.waferSize = waferSize;
}
public String getMaskId() {
return this.maskId;
}
public void setMaskId(String maskId) {
this.maskId = maskId;
}
/**
* Return storeUomDesc.
*/
public String getStoreUomDesc() {
return this.storeUomDesc;
}
/**
* Set the storeUomDesc.
*
* @param String storeUomDesc.
*/
public void setStoreUomDesc(String storeUomDesc) {
this.storeUomDesc = storeUomDesc;
}
}
/*
* Modification Log Log No : Name : Modified Date: Description :
*/