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 requisition summary info
046: *
047: * @author Zahid Syed
048: */
049:
050: public class RequisitionInfoBean extends Object implements Serializable {
051: String reqHeaderID;
052: String segmentOne;
053: String description;
054: String requisitionType;
055: String creationDate;
056: String creator;
057: String authStatus;
058:
059: public RequisitionInfoBean() {
060:
061: }
062:
063: public void setReqHeaderID(String rhid) {
064: this .reqHeaderID = rhid;
065: }
066:
067: public String getReqHeaderID() {
068: return (this .reqHeaderID);
069: }
070:
071: public void setSegmentOne(String sone) {
072: this .segmentOne = sone;
073: }
074:
075: public String getSegmentOne() {
076: return (this .segmentOne);
077: }
078:
079: public void setDescription(String desc) {
080: this .description = desc;
081: }
082:
083: public String getDescription() {
084: return (this .description);
085: }
086:
087: public void setRequisitionType(String reqtype) {
088:
089: this .requisitionType = reqtype;
090: }
091:
092: public String getRequisitionType() {
093: return (this .requisitionType);
094: }
095:
096: public void setCreationDate(String cdate) {
097:
098: this .creationDate = cdate;
099: }
100:
101: public String getCreationDate() {
102: return (this .creationDate);
103: }
104:
105: public void setCreator(String cr) {
106:
107: this .creator = cr;
108: }
109:
110: public String getCreator() {
111: return (this .creator);
112: }
113:
114: public void setAuthStatus(String authstatus) {
115:
116: this .authStatus = authstatus;
117: }
118:
119: public String getAuthStatus() {
120: return (this.authStatus);
121: }
122:
123: }
|