001: /*
002: * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
003: *
004: * Redistribution and use in source and binary forms, with or without
005: * modification, are permitted provided that the following conditions
006: * are met:
007: *
008: * - Redistributions of source code must retain the above copyright
009: * notice, this list of conditions and the following disclaimer.
010: *
011: * - Redistribution in binary form must reproduce the above copyright
012: * notice, this list of conditions and the following disclaimer in
013: * the documentation and/or other materials provided with the
014: * distribution.
015: *
016: * Neither the name of Sun Microsystems, Inc. or the names of
017: * contributors may be used to endorse or promote products derived
018: * from this software without specific prior written permission.
019: *
020: * This software is provided "AS IS," without a warranty of any
021: * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
022: * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
023: * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
024: * EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES
025: * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
026: * DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN
027: * OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR
028: * FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR
029: * PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF
030: * LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE,
031: * EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
032: *
033: * You acknowledge that Software is not designed, licensed or intended
034: * for use in the design, construction, operation or maintenance of
035: * any nuclear facility.
036: */
037:
038: package com.sun.portal.oracleportlet.util;
039:
040: import java.lang.*;
041: import java.util.*;
042: import java.io.Serializable;
043:
044: /**
045: * This is a bean that holds line item details for a requisition
046: *
047: * @author Zahid Syed
048: */
049:
050: public class ApprovalLinesBean extends Object implements Serializable {
051: String reqLineID;
052: String itemDescription;
053: String vendorName;
054: String unitPrice;
055: String currency;
056: String quantity;
057: String needByDate;
058:
059: public ApprovalLinesBean() {
060: }
061:
062: public void setReqLineID(String rlid) {
063: this .reqLineID = rlid;
064: }
065:
066: public String getReqLineID() {
067: return (this .reqLineID);
068: }
069:
070: public void setItemDescription(String ides) {
071: this .itemDescription = ides;
072: }
073:
074: public String getItemDescription() {
075: return (this .itemDescription);
076: }
077:
078: public void setVendorName(String vendor) {
079: this .vendorName = vendor;
080: }
081:
082: public String getVendorName() {
083: return (this .vendorName);
084: }
085:
086: public void setUnitPrice(String uprice) {
087:
088: this .unitPrice = uprice;
089: }
090:
091: public String getUnitPrice() {
092: return (this .unitPrice);
093: }
094:
095: public void setCurrency(String curr) {
096:
097: this .currency = curr;
098: }
099:
100: public String getCurrency() {
101: return (this .currency);
102: }
103:
104: public void setQuantity(String quant) {
105:
106: this .quantity = quant;
107: }
108:
109: public String getQuantity() {
110: return (this .quantity);
111: }
112:
113: public void setNeedByDate(String nbdate) {
114:
115: this .needByDate = nbdate;
116: }
117:
118: public String getNeedByDate() {
119: return (this.needByDate);
120: }
121:
122: }
|