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 the details of a quotation
046: *
047: * @author Zahid Syed
048: */
049:
050: public class QuotationDetailsBean extends Object implements
051: Serializable {
052: String segmentOne;
053: String supplier;
054: String supplierQuote;
055: String supplierSite;
056: String contact;
057: String billtoLocation;
058: String startDate;
059: String endDate;
060:
061: public QuotationDetailsBean() {
062:
063: }
064:
065: public void setSegmentOne(String segOne) {
066: this .segmentOne = segOne;
067: }
068:
069: public String getSegmentOne() {
070: return (this .segmentOne);
071: }
072:
073: public void setSupplier(String supp) {
074:
075: this .supplier = supp;
076: }
077:
078: public String getSupplier() {
079: return (this .supplier);
080: }
081:
082: public void setSupplierQuote(String suppQuote) {
083:
084: this .supplierQuote = suppQuote;
085: }
086:
087: public String getSupplierQuote() {
088: return (this .supplierQuote);
089: }
090:
091: public void setSupplierSite(String suppSite) {
092:
093: this .supplierSite = suppSite;
094: }
095:
096: public String getSupplierSite() {
097: return (this .supplierSite);
098: }
099:
100: public void setContact(String cont) {
101:
102: this .contact = cont;
103: }
104:
105: public String getContact() {
106: return (this .contact);
107: }
108:
109: public void setBilltoLocation(String btloc) {
110:
111: this .billtoLocation = btloc;
112: }
113:
114: public String getBilltoLocation() {
115: return (this .billtoLocation);
116: }
117:
118: public void setStartDate(String stdate) {
119:
120: this .startDate = stdate;
121: }
122:
123: public String getStartDate() {
124: return (this .startDate);
125: }
126:
127: public void setEndDate(String enddate) {
128:
129: this .endDate = enddate;
130: }
131:
132: public String getEndDate() {
133: return (this.endDate);
134: }
135: }
|